This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/usercmd.hpp
2018-03-29 19:08:31 +02:00

36 lines
553 B
C++
Executable File

/*
* usercmd.h
*
* Created on: Oct 5, 2016
* Author: nullifiedcat
*/
#ifndef USERCMD_HPP_
#define USERCMD_HPP_
#include <stdint.h>
#include <mathlib/vector.h>
class CUserCmd
{
public:
virtual ~CUserCmd(){};
int command_number;
int tick_count;
Vector viewangles;
float forwardmove;
float sidemove;
float upmove;
int buttons;
uint8_t impulse;
int weaponselect;
int weaponsubtype;
int random_seed;
short mousedx;
short mousedy;
bool hasbeenpredicted;
};
#endif /* USERCMD_HPP_ */