feat(network): update netConnection

This commit is contained in:
Mr-X-GTA 2024-09-23 01:06:27 +02:00
parent 513cd0d106
commit 079db652ba

View File

@ -126,26 +126,28 @@ namespace rage
char gap4C[4]; char gap4C[4];
rage::netMessageQueue m_reliables_resend_queue; rage::netMessageQueue m_reliables_resend_queue;
rage::netMessageQueue m_normal_message_queue; rage::netMessageQueue m_normal_message_queue;
rage::netQueuedMessage* m_unacked_reliable_message_list; rage::netQueuedMessage* m_unacked_reliable_message_list; //0x0080
int m_unacked_reliable_message_count; int m_unacked_reliable_message_count; //0x0088
char gap8C[36]; char gap8C[36]; //0x008C
netConnectionManager* m_net_connection_mgr; char new_00B0[24]; //0x00B0 added b3323
char gapB8[8]; netConnectionManager* m_net_connection_mgr; //0x00C8
uint32_t dwordC0; char gapD0[8]; //0x00D0
int16_t m_msg_counter; uint32_t dwordD8; //0x00D8
int16_t wordC6; int16_t m_msg_counter; //0x00DC
char gapC8[2]; int16_t wordDE; //0x00DE
int16_t m_last_reliable_msg_counter; char gapE0[2];
char m_flags; int16_t m_last_reliable_msg_counter; //0x00E2
char gapCD[3]; char new_00E4[8]; //0x00E4 added b3323
int m_failed_allocation_size; char m_flags; //0x00EC
int32_t m_failed_allocations; char gapED[3];
rage::netConnection* m_next; int m_failed_allocation_size; //0x00F0
char gapE0[208]; int32_t m_failed_allocations; //0x00F4
int m_flags2; rage::netConnection* m_next; //0x00F8
char gap1B4[69]; char gap100[208];
int m_flags2; //0x01D0
char gap1D4[69];
}; };
static_assert(sizeof(netConnection) == 0x1F9); static_assert(sizeof(netConnection) == 0x219);
class netConnectionQueue class netConnectionQueue
{ {