Merge pull request #126 from diamante0018/dvar-set

I accidentally modifed the struct
This commit is contained in:
Dss0 2021-09-08 23:07:34 +02:00 committed by GitHub
commit f83eabf1e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4215,25 +4215,6 @@ namespace Game
char ipx[10]; char ipx[10];
}; };
struct netchan_t
{
int outgoingSequence;
int sock;
int dropped;
int incomingSequence;
netadr_t remoteAddress;
int qport;
int fragmentSequence;
int fragmentLength;
uint8_t* fragmentBuffer;
int fragmentBufferSize;
int unsentFragments;
int unsentFragmentStart;
int unsentLength;
uint8_t* unsentBuffer;
int unsentBufferSize;
};
struct FxEditorElemAtlas struct FxEditorElemAtlas
{ {
int behavior; int behavior;
@ -4643,56 +4624,47 @@ namespace Game
// 0 // 0
clientstate_t state; clientstate_t state;
// 4 // 4
char __pad0[4]; char _pad[4];
// 8 // 8
int deltaMessage; int deltaMessage;
// 12 // 12
char __pad1[12]; char __pad[12];
// 24 // 24
int outgoingSequence; int outgoingSequence;
// 28 // 28
char __pad2[12]; char pad[12];
// 40 // 40
netadr_t addr; netadr_t addr;
// 60 // 60
char __pad3[1568]; char pad1[1568];
// 1628 // 1628
char connectInfoString[1024]; char connectInfoString[1024];
// 2652 // 2652
char __pad4[132096]; char pad2[133192];
// 134748
int reliableSequence;
// 134752
int reliableAcknowledge;
// 134756
int reliableSent;
// 134760
char __pad5[1084];
// 135844 // 135844
char name[16]; char name[16];
// 135860 // 135860
char __pad6[12]; char pad3[12];
// 135872 // 135872
int snapNum; int snapNum;
// 135876 // 135876
int __pad7; int pad4;
// 135880 // 135880
short ping; short ping;
// 135882 // 135882
char __pad8[133158]; //char pad5[142390];
char pad5[133158];
// 269040 // 269040
int isBot; int isBot;
// 269044 // 269044
char __pad9[9228]; char pad6[9228];
// 278272 // 278272
unsigned __int64 steamid; unsigned __int64 steamid;
// 278280 // 278280
char __pad10[403592]; char pad7[403592];
} client_t; } client_t;
#pragma pack(pop) #pragma pack(pop)
static_assert(sizeof(client_t) == 681872);
struct CModelAllocData struct CModelAllocData
{ {
void* mainArray; void* mainArray;