2016-12-19 11:52:02 -05:00
|
|
|
#pragma once
|
|
|
|
|
2016-12-19 14:49:39 -05:00
|
|
|
typedef unsigned long CRC32_t;
|
|
|
|
|
2016-12-19 11:52:02 -05:00
|
|
|
class CUserCmd {
|
|
|
|
virtual ~CUserCmd() {};
|
|
|
|
|
|
|
|
public:
|
|
|
|
int command_number;
|
|
|
|
int tick_count;
|
|
|
|
QAngle viewangles;
|
|
|
|
float forwardmove;
|
|
|
|
float sidemove;
|
|
|
|
float upmove;
|
|
|
|
int buttons;
|
|
|
|
unsigned char impulse;
|
|
|
|
int weaponselect;
|
|
|
|
int weaponsubtype;
|
|
|
|
int random_seed;
|
|
|
|
short mousedx;
|
|
|
|
short mousedy;
|
|
|
|
bool hasbeenpredicted;
|
2016-12-19 14:49:39 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
class CVerifiedUserCmd {
|
|
|
|
public:
|
|
|
|
CUserCmd m_cmd;
|
|
|
|
CRC32_t m_crc;
|
2016-12-19 11:52:02 -05:00
|
|
|
};
|