Advertisement
Guest User

Untitled

a guest
Dec 21st, 2021
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.42 KB | None | 0 0
  1. class C_UserCmd
  2. {
  3. public:
  4.     void*   m_pVTable;              // 0x00
  5.     int32_t m_nCommand;             // 0x04
  6.     int32_t m_nTickCount;           // 0x08
  7.     QAngle  m_angViewAngles;        // 0x0C Player instantaneous view angles.
  8.     Vector  m_vecAimDirection;      // 0x18
  9.     float_t m_flForwardMove;        // 0x24
  10.     float_t m_flSideMove;           // 0x28
  11.     float_t m_flUpMove;             // 0x2C
  12.     int32_t m_nButtons;             // 0x30 Attack button states
  13.     char    m_nImpulse;             // 0x34
  14.     int32_t m_iWeaponSelect;        // 0x38 Current weapon id
  15.     int32_t m_iWeaponSubType;       // 0x3C
  16.     int32_t m_iRandomSeed;          // 0x40 For shared random functions
  17.     short   m_nMouseDirectionX;     // 0x44 mouse accum in x from create move
  18.     short   m_nMouseDirectionY;     // 0x46 mouse accum in y from create move
  19.     bool    m_bHasBeenPredicted;    // 0x48 Client only, tracks whether we've predicted this command at least once
  20.     char    pad[ 0x18 ];
  21. }; // sizeof 0x60
  22.  
  23. class C_Input
  24. {
  25. public:
  26.     char                pad_0000[12 - 4]; //0x0000
  27.     bool                m_fTrackIRAvailable; //0x000C
  28.     bool                m_fMouseInitialized; //0x000D
  29.     bool                m_fMouseActive; //0x000E
  30.     bool                m_fJoystickAdvancedInit; //0x000F
  31.     char                pad_0010[44]; //0x0010
  32.     char*               m_pKeys; //0x003C
  33.     char                pad_0040[48]; //0x0040
  34.     int32_t             m_nCamCommand; //0x0070
  35.     char                pad_0074[76]; //0x0074
  36.     bool                m_fCameraInterceptingMouse; //0x00C0
  37.     bool                m_bCameraInThirdPerson; //0x00C1
  38.     bool                m_fCameraMovingWithMouse; //0x00C2
  39.     char                pad_00C3[1]; //0x00C3
  40.     Vector              m_vecCameraOffset; //0x00C4
  41.     char                pad_00C8[8]; //0x00C8
  42.     bool                m_fCameraDistanceMove; //0x00D0
  43.     char                pad_00D1[19]; //0x00D1
  44.     bool                m_CameraIsOrthographic; //0x00E4
  45.     bool                m_CameraIsThirdPersonOverview; //0x00E5
  46.     char                pad_00E6[2]; //0x00E6
  47.     QAngle*             m_angPreviousViewAngles; //0x00E8
  48.     QAngle*             m_angPreviousViewAnglesTilt; //0x00EC
  49.     char                pad_00F0[16]; //0x00F0
  50.     float               m_flLastForwardMove; //0x0100
  51.     int32_t             m_nClearInputState; //0x0104
  52.     C_UserCmd*          m_pCommands; //0x0108
  53.     C_VerifiedUserCmd*  m_pVerifiedCommands; //0x010C      
  54. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement