summaryrefslogtreecommitdiffstats
path: root/src/network/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/room.h')
-rw-r--r--src/network/room.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/room.h b/src/network/room.h
index 82e3dc62c..ffa17599d 100644
--- a/src/network/room.h
+++ b/src/network/room.h
@@ -11,6 +11,8 @@
namespace Network {
+constexpr u32 network_version = 1; ///< The version of this Room and RoomMember
+
constexpr u16 DefaultRoomPort = 1234;
constexpr size_t NumChannels = 1; // Number of channels used for the connection
@@ -37,7 +39,9 @@ enum RoomMessageTypes {
IdWifiPacket,
IdChatMessage,
IdNameCollision,
- IdMacCollision
+ IdMacCollision,
+ IdVersionMismatch,
+ IdCloseRoom
};
/// This is what a server [person creating a server] would use.