Skip to content

Commit

Permalink
[sdk] fixed #23 cre: @master-of-darkness
Browse files Browse the repository at this point in the history
  • Loading branch information
maecry committed Jan 28, 2024
1 parent cd9e151 commit 5dbadce
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions cstrike/sdk/interfaces/ccsgoinput.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,37 @@ class CCSGOInput
{
public:
void* pVtable;
MEM_PAD(0x248);
MEM_PAD(12344);
CUserCmd arrCommands[150];
MEM_PAD(0x1);
int8_t N0000065C; //0x8E00
bool bInThirdPerson;
MEM_PAD(0x22);
MEM_PAD(6);
QAngle_t m_vecThridpersonAngles;
MEM_PAD(16);
int32_t nSequenceNumber;

int32_t iOldSequence; //0x8E28
uint32_t pad; //0x8E2C
double m_Unknown; //0x8E30 look's like a timer
uint64_t m_iButtonState1; //0x8E38
MEM_PAD(16);
uint64_t m_iButtonState2; //0x8E50
MEM_PAD(32);
int32_t N0000066A; //0x8E78 padding
MEM_PAD(12);
uint32_t N0000066C; //0x8E88 padding
MEM_PAD(164);
QAngle_t m_vecViewangles; //0x8F30
MEM_PAD(232);
uint32_t N0000069F; //0x9024 padding
uint32_t m_buttons; //0x9028
uint32_t N000006A0; //0x902C padding
MEM_PAD(20);
int32_t N000006A3; //0x9044 padding
int32_t N0000178A; //0x9048 padding
float m_flUnknownTimer; //0x904C
MEM_PAD(28);

CUserCmd* GetUserCmd()
{
return &arrCommands[nSequenceNumber % MULTIPLAYER_BACKUP];
Expand All @@ -35,4 +59,4 @@ class CCSGOInput
#endif
oSetViewAngle(this, 0, std::ref(angView));
}
};
};

0 comments on commit 5dbadce

Please sign in to comment.