From 905ae5a2022cc56a63759ff5199e7ab2dce7decb Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Mon, 21 Aug 2023 16:28:37 +0200 Subject: [PATCH] Add netmsg type defines These 2 are used in CNetChan::ProcessMessages. --- r5dev/common/protocol.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/r5dev/common/protocol.h b/r5dev/common/protocol.h index 7205a635..5661c323 100644 --- a/r5dev/common/protocol.h +++ b/r5dev/common/protocol.h @@ -37,3 +37,6 @@ enum class PERSISTENCE : int PERSISTENCE_READY = 5 // persistence is ready for this client. #endif }; + +#define net_NOP 0 // nop command used for padding. +#define net_Disconnect 1 // disconnect, last message in connection.