Snorflake

CSGO CUserCmd

Jun 11th, 2015
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.89 KB | None | 0 0
  1. class CUserCmd
  2. {
  3. public:
  4.     char pad_0x0000[0x4]; //0x0000 
  5.     int     command_number;     // 0x04 For matching server and client commands for debugging
  6.     int     tick_count;         // 0x08 the tick the client created this command
  7.     Vector  viewangles;         // 0x0C Player instantaneous view angles.
  8.     Vector  aimdirection;       // 0x18
  9.     float   forwardmove;        // 0x24
  10.     float   sidemove;           // 0x28
  11.     float   upmove;             // 0x2C
  12.     int     buttons;            // 0x30 Attack button states
  13.     byte    impulse;            // 0x34
  14.     int     weaponselect;       // 0x38 Current weapon id
  15.     int     weaponsubtype;      // 0x3C
  16.     int     random_seed;        // 0x40 For shared random functions
  17.     short   mousedx;            // 0x44 mouse accum in x from create move
  18.     short   mousedy;            // 0x46 mouse accum in y from create move
  19.     bool    hasbeenpredicted;   // 0x48 Client only, tracks whether we've predicted this command at least once
  20.     char    pad_0x4C[0x18];     // 0x4C Current sizeof( usercmd ) =  100  = 0x64
  21. };
Advertisement
Add Comment
Please, Sign In to add comment