small issue (#7)

* Update rlGamerInfo.hpp

some minor issues

* Update rlGamerInfoBase.hpp
This commit is contained in:
AAA-ALR 2023-10-20 23:00:34 +08:00 committed by GitHub
parent 0132075d1c
commit a9d08a9b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@ namespace rage
{ {
class rlGamerInfo : public rage::rlGamerInfoBase class rlGamerInfo : public rage::rlGamerInfoBase
{ {
public:
uint64_t m_HostToken; uint64_t m_HostToken;
uint64_t m_PeerId2; uint64_t m_PeerId2;
rage::rlGamerHandle m_GamerHandle2; rage::rlGamerHandle m_GamerHandle2;
@ -16,4 +17,4 @@ namespace rage
}; };
static_assert(sizeof(rage::rlGamerInfo) == 0xD8); static_assert(sizeof(rage::rlGamerInfo) == 0xD8);
} }
#pragma pack(pop) #pragma pack(pop)

View File

@ -8,6 +8,7 @@ namespace rage
{ {
class rlGamerInfoBase class rlGamerInfoBase
{ {
public:
uint64_t m_PeerId; uint64_t m_PeerId;
rage::rlGamerHandle m_GamerHandle; rage::rlGamerHandle m_GamerHandle;
char m_AesKey[33]; char m_AesKey[33];
@ -24,4 +25,4 @@ namespace rage
}; };
static_assert(sizeof(rage::rlGamerInfoBase) == 0x98); static_assert(sizeof(rage::rlGamerInfoBase) == 0x98);
} }
#pragma pack(pop) #pragma pack(pop)