summaryrefslogtreecommitdiffstats
path: root/src/network/room.h
diff options
context:
space:
mode:
authorB3n30 <benediktthomas@gmail.com>2017-07-14 09:20:39 +0200
committerB3n30 <benediktthomas@gmail.com>2017-07-16 21:30:04 +0200
commita0626221a52056669c0b6d19b37d4189c1671fb7 (patch)
tree13b05ebe3fe162c1d90f79dc38c9e7129958bc2e /src/network/room.h
parentNetwork: Send the game title (diff)
downloadyuzu-a0626221a52056669c0b6d19b37d4189c1671fb7.tar
yuzu-a0626221a52056669c0b6d19b37d4189c1671fb7.tar.gz
yuzu-a0626221a52056669c0b6d19b37d4189c1671fb7.tar.bz2
yuzu-a0626221a52056669c0b6d19b37d4189c1671fb7.tar.lz
yuzu-a0626221a52056669c0b6d19b37d4189c1671fb7.tar.xz
yuzu-a0626221a52056669c0b6d19b37d4189c1671fb7.tar.zst
yuzu-a0626221a52056669c0b6d19b37d4189c1671fb7.zip
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.