summaryrefslogtreecommitdiffstats
path: root/src/game/shared/protocol.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/shared/protocol.hh')
-rw-r--r--src/game/shared/protocol.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/shared/protocol.hh b/src/game/shared/protocol.hh
index 2582406..46e0202 100644
--- a/src/game/shared/protocol.hh
+++ b/src/game/shared/protocol.hh
@@ -1,3 +1,10 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: protocol.hh
+// Description: Network protocol on top of ENet
+
+#ifndef SHARED_PROTOCOL_HH
+#define SHARED_PROTOCOL_HH
#pragma once
#include "shared/world/chunk.hh"
@@ -210,3 +217,5 @@ struct protocol::DimensionInfo final : public protocol::Base<0x0012> {
std::string name;
float gravity;
};
+
+#endif