From e5e08b1d1099774d6aa346bf66cc4f098725d162 Mon Sep 17 00:00:00 2001 From: fienestar Date: Thu, 28 Nov 2024 05:09:57 +0900 Subject: [PATCH] update OnlinePlayer def --- src/game_api/online.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/game_api/online.hpp b/src/game_api/online.hpp index 1d26f8a6b..d2c72f7fe 100644 --- a/src/game_api/online.hpp +++ b/src/game_api/online.hpp @@ -4,7 +4,7 @@ #include // for uint32_t, uint8_t, int8_t, int32_t #include // for string -enum class GAME_MODE : uint8_t +enum class GAME_MODE : uint32_t { COOP = 1, ARENA = 2 @@ -30,10 +30,11 @@ enum class PLATFORM : uint8_t struct OnlinePlayer { uint8_t player_name_length; - uint8_t padding1[7]; + uint8_t padding[3]; + uint32_t unknown1; uint64_t id; GAME_MODE game_mode; - uint8_t padding2[4]; + uint8_t unknown2; READY_STATE ready_state : 2; PLATFORM platform : 6; uint8_t character;