From 5dbadce68683d66a81778702cf63b4a38ea134fc Mon Sep 17 00:00:00 2001 From: maecry Date: Sun, 28 Jan 2024 10:02:34 +0700 Subject: [PATCH] [sdk] fixed #23 cre: @master-of-darkness --- cstrike/sdk/interfaces/ccsgoinput.h | 32 +++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/cstrike/sdk/interfaces/ccsgoinput.h b/cstrike/sdk/interfaces/ccsgoinput.h index 4f0cf6f..38b820e 100644 --- a/cstrike/sdk/interfaces/ccsgoinput.h +++ b/cstrike/sdk/interfaces/ccsgoinput.h @@ -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]; @@ -35,4 +59,4 @@ class CCSGOInput #endif oSetViewAngle(this, 0, std::ref(angView)); } -}; \ No newline at end of file +};