From a4ab4df95f6727618a999e6c5722040a495bb601 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sat, 13 Apr 2024 21:44:21 +0800 Subject: [PATCH] [raknet] Add ID_RECEIVED_STATIC_DATA to PacketEnumerations.h --- raknet/PacketEnumerations.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/raknet/PacketEnumerations.h b/raknet/PacketEnumerations.h index 835935d..6c15448 100644 --- a/raknet/PacketEnumerations.h +++ b/raknet/PacketEnumerations.h @@ -94,9 +94,11 @@ enum /// [PEER|SERVER|CLIENT] 40: The four bytes following this byte represent an unsigned int which is automatically modified by the difference in system times between the sender and the recipient. Requires that you call StartOccasionalPing. ID_TIMESTAMP, + /// [PEER|SERVER|CLIENT] 41: We got a bitstream containing static data. You can now read this data. This packet is transmitted automatically on connections, and can also be manually sent. + ID_RECEIVED_STATIC_DATA, /// [CLIENT] 42: In a client/server environment, a client other than ourselves has disconnected gracefully. Packet::playerID is modified to reflect the playerID of this client. - ID_REMOTE_DISCONNECTION_NOTIFICATION = 42, + ID_REMOTE_DISCONNECTION_NOTIFICATION, /// [CLIENT] 43: In a client/server environment, a client other than ourselves has been forcefully dropped. Packet::playerID is modified to reflect the playerID of this client. ID_REMOTE_CONNECTION_LOST,