Skip to content

Commit

Permalink
update OnlinePlayer def
Browse files Browse the repository at this point in the history
  • Loading branch information
fienestar committed Nov 27, 2024
1 parent b0ad891 commit e5e08b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/game_api/online.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <cstdint> // for uint32_t, uint8_t, int8_t, int32_t
#include <string> // for string

enum class GAME_MODE : uint8_t
enum class GAME_MODE : uint32_t
{
COOP = 1,
ARENA = 2
Expand All @@ -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;
Expand Down

0 comments on commit e5e08b1

Please sign in to comment.