diff options
Diffstat (limited to 'src/network/room.h')
| -rw-r--r-- | src/network/room.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/room.h b/src/network/room.h index ffa17599d..54cccf0ae 100644 --- a/src/network/room.h +++ b/src/network/room.h | |||
| @@ -30,8 +30,7 @@ const MacAddress NoPreferredMac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; | |||
| 30 | constexpr MacAddress BroadcastMac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; | 30 | constexpr MacAddress BroadcastMac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; |
| 31 | 31 | ||
| 32 | // The different types of messages that can be sent. The first byte of each packet defines the type | 32 | // The different types of messages that can be sent. The first byte of each packet defines the type |
| 33 | using MessageID = u8; | 33 | enum RoomMessageTypes : u8 { |
| 34 | enum RoomMessageTypes { | ||
| 35 | IdJoinRequest = 1, | 34 | IdJoinRequest = 1, |
| 36 | IdJoinSuccess, | 35 | IdJoinSuccess, |
| 37 | IdRoomInformation, | 36 | IdRoomInformation, |