From e0e57939ef4b9e8688e2c344ac826b03c87e3d63 Mon Sep 17 00:00:00 2001 From: Lucy Date: Mon, 8 Jul 2024 19:59:44 +0200 Subject: [PATCH] Add comment in gamepacket.rs for free game packet ids --- proto/src/gamepacket.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/proto/src/gamepacket.rs b/proto/src/gamepacket.rs index d92b737c..78578915 100644 --- a/proto/src/gamepacket.rs +++ b/proto/src/gamepacket.rs @@ -850,6 +850,7 @@ impl GamePacket { // Get the first 10 bits as the packet id // Can never be more than a 16-bit integer due to being 10 bits big + // Gamepacket IDs through 200-299 are used for spin-offs, they are free to use for custom packets let game_packet_id = game_packet_header & 0b0000_0011_1111_1111; // Get the next 2 bits as the sub client sender id