Addressed review

This commit is contained in:
Diavolo 2021-09-08 23:15:10 +02:00
parent 4966a64711
commit 9cb16ceabf
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -4224,37 +4224,21 @@ namespace Game
struct netchan_t struct netchan_t
{ {
// 0
int outgoingSequence; int outgoingSequence;
// 4
netsrc_t sock; netsrc_t sock;
// 8
int dropped; int dropped;
// 12
int incomingSequence; int incomingSequence;
// 16
netadr_t remoteAddress; netadr_t remoteAddress;
// 36
int qport; int qport;
// 40
int fragmentSequence; int fragmentSequence;
// 44
int fragmentLength; int fragmentLength;
// 48
char* fragmentBuffer; char* fragmentBuffer;
// 52
int fragmentBufferSize; int fragmentBufferSize;
// 56
int unsentFragments; int unsentFragments;
// 60
int unsentFragmentStart; int unsentFragmentStart;
// 64
int unsentLength; int unsentLength;
// 68
char* unsentBuffer; char* unsentBuffer;
// 72
int unsentBufferSize; int unsentBufferSize;
// 76
netProfileInfo_t prof; netProfileInfo_t prof;
}; };
@ -4666,56 +4650,33 @@ namespace Game
#pragma pack(push, 1) #pragma pack(push, 1)
typedef struct client_s typedef struct client_s
{ {
// 0 clientstate_t state; // 0
clientstate_t state; char __pad0[4]; // 4
// 4 int deltaMessage; // 8
char __pad0[4]; char __pad1[12]; // 12
// 8 netchan_t netchan; // 24
int deltaMessage; char __pad2[20]; // 1604
// 12 const char* delayDropReason; // 1624
char __pad1[12]; char connectInfoString[1024]; // 1628
// 24 char __pad3[132096]; // 2652
netchan_t netchan; int reliableSequence; // 134748
// 1604 int reliableAcknowledge; // 134752
char __pad3[20]; int reliableSent; // 134756
// 1624 char __pad4[1084]; // 134760
const char* delayDropReason; char name[16]; // 135844
// 1628 char __pad5[12]; // 135860
char connectInfoString[1024]; int snapNum; // 135872
// 2652 int __pad6; // 135876
char __pad4[132096]; short ping; // 135880
// 134748 char __pad7[133158]; // 135882
int reliableSequence; int isBot; // 269040
// 134752 char __pad8[9228]; // 269044
int reliableAcknowledge; unsigned __int64 steamID; // 278272
// 134756 char __pad9[403592]; // 278280
int reliableSent;
// 134760
char __pad5[1084];
// 135844
char name[16];
// 135860
char __pad6[12];
// 135872
int snapNum;
// 135876
int __pad7;
// 135880
short ping;
// 135882
char __pad8[133158];
// 269040
int isBot;
// 269044
char __pad9[9228];
// 278272
unsigned __int64 steamID;
// 278280
char __pad10[403592];
} client_t; } client_t;
#pragma pack(pop) #pragma pack(pop)
static_assert(sizeof(client_t) == 681872); static_assert(sizeof(client_t) == 0xA6790);
struct CModelAllocData struct CModelAllocData
{ {