diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/types.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/types.hpp b/include/net/types.hpp index 5301021..c16ca36 100644 --- a/include/net/types.hpp +++ b/include/net/types.hpp @@ -87,6 +87,15 @@ struct disconnect { }; struct accept { + static constexpr uint8_t packet_id = 3; + + uint8_t slot; + uint8_t server_flags = 0; +}; + +struct player_info { + static constexpr uint8_t packet_id = 4; + uint8_t slot; uint8_t server_flags = 0; }; |
