Update rage::rlSessionDetail (#54)

This commit is contained in:
maybegreat48 2022-11-06 21:38:11 +00:00 committed by GitHub
parent 1ad790dcd6
commit fd8386c779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 10 deletions

View File

@ -74,9 +74,10 @@ public:
}; //Size: 0x1928
static_assert(sizeof(JoiningPlayerNameMap) == 0x1928);
class CNetBlacklistNode : public rage::rlGamerHandle
class CNetBlacklistNode
{
public:
class rage::rlGamerHandle m_handle; //0x0000
bool m_block_rejoin; //0x0010
char pad_0011[3]; //0x0011
uint32_t m_added_time; //0x0014
@ -215,4 +216,4 @@ public:
char pad_2E16C[628]; //0x2E16C
}; //Size: 0x2E3E0
static_assert(sizeof(Network) == 0x2E450);
#pragma pack(pop)
#pragma pack(pop)

View File

@ -53,15 +53,28 @@ namespace rage
class rlSessionDetail
{
public:
class rage::rlGamerInfo m_gamer_info;
class rage::rlSessionInfo m_session_info; //0x0098
char pad_0108[308]; //0x0108
class rage::rlGamerInfoBase m_base_gamer_info;
char pad_0060[8]; //0x0060
class rage::rlSessionInfo m_session_info; //0x0068
char pad_00D8[14]; //0x00D8
uint16_t m_session_type; //0x00E6
char pad_00E8[324]; //0x00E8
uint32_t m_player_count; //0x022C
uint32_t m_unk_player_count; //0x0230
char pad_0234[2]; //0x0234
int16_t m_unk_pos_x; //0x0236
int16_t m_unk_pos_y; //0x0238
int16_t m_unk_pos_z; //0x023A
uint8_t m_matchmaking_property_ids[32]; //0x023C
char pad_025C[5]; //0x025C
char pad_025C[2]; //0x025C
uint16_t m_rank; //0x025E
char pad_0260[1]; //0x0260
uint8_t m_mental_state; //0x0261
char pad_0262[342]; //0x0262
}; //Size: 0x03B8
static_assert(sizeof(rage::rlSessionDetail) == 0x3B8);
char pad_0262[21]; //0x0262
uint8_t m_population_density; //0x0277
char pad_0278[320]; //0x0278
}; //Size: 0x03CA
static_assert(sizeof(rlSessionDetail) == 0x3B8);
class rlMatchmakingFindResult
@ -167,4 +180,14 @@ namespace rage
}; //Size: 0x0110
static_assert(sizeof(rage::snMsgRemoveGamersFromSessionCmd) == 0x110);
}
#pragma pack(pop)
class SessionSortEntry
{
public:
class rage::rlSessionDetail* m_session_detail; //0x0000
char pad_0008[4]; //0x0008
float m_score; //0x000C
char pad_0010[8]; //0x0010
}; //Size: 0x0018
static_assert(sizeof(SessionSortEntry) == 0x18);
#pragma pack(pop)