From febff1b70329db20d4a8e0f96749422157bf4b3d Mon Sep 17 00:00:00 2001 From: Joelrau Date: Fri, 4 Dec 2020 23:17:44 +0200 Subject: [PATCH] [Structs] Added enum clientstate_t --- src/Game/Structs.hpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Game/Structs.hpp b/src/Game/Structs.hpp index 08b2d265..e9f31ad7 100644 --- a/src/Game/Structs.hpp +++ b/src/Game/Structs.hpp @@ -121,6 +121,16 @@ namespace Game DVAR_TYPE_COUNT = 0xA, } dvar_type; + typedef enum + { + CS_FREE = 0x0, + CS_UNKNOWN1 = 0x1, + CS_UNKNOWN2 = 0x2, + CS_CONNECTED = 0x3, + CS_CLIENTLOADING = 0x4, + CS_ACTIVE = 0x5, + } clientstate_t; + struct FxEffectDef; struct pathnode_t; struct pathnode_tree_t; @@ -4469,7 +4479,7 @@ namespace Game typedef struct client_s { // 0 - int state; + clientstate_t state; // 4 char pad[36]; // 40