From 513cd0d106dac9f6015b9ad26187d313295b8294 Mon Sep 17 00:00:00 2001 From: Mr-X-GTA <110748953+Mr-X-GTA@users.noreply.github.com> Date: Tue, 17 Sep 2024 15:40:16 +0200 Subject: [PATCH] feat(game_files): update GameDataHash (#189) --- game_files/GameDataHash.hpp | 4 ++-- network/CMsgJoinRequest.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game_files/GameDataHash.hpp b/game_files/GameDataHash.hpp index 6046eda..fa61b10 100644 --- a/game_files/GameDataHash.hpp +++ b/game_files/GameDataHash.hpp @@ -7,7 +7,7 @@ class GameDataHash { public: bool m_is_japanese_version; - std::array m_data; + std::array m_data; }; -static_assert(sizeof(GameDataHash) == 0xF4); +static_assert(sizeof(GameDataHash) == 0x104); #pragma pack(pop) \ No newline at end of file diff --git a/network/CMsgJoinRequest.hpp b/network/CMsgJoinRequest.hpp index 8c4cff6..d7dd73f 100644 --- a/network/CMsgJoinRequest.hpp +++ b/network/CMsgJoinRequest.hpp @@ -21,5 +21,5 @@ public: rage::rlGamerHandle m_gamer_handle; CNetGamePlayerDataMsg m_player_data_msg; }; -static_assert(sizeof(CMsgJoinRequest) == 0x168); +static_assert(sizeof(CMsgJoinRequest) == 0x178); #pragma pack(pop) \ No newline at end of file