From 5e46ccbf67be0202030bbb203461bd4b6cad15f9 Mon Sep 17 00:00:00 2001 From: hovertank3d Date: Thu, 26 Feb 2026 03:04:00 +0100 Subject: fix `accept` and add docs for player_info --- include/net/types.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/net') 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; }; -- cgit v1.2.3