2023-01-18 01:34:40 +01:00
|
|
|
|
//====== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. =======//
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
|
|
#ifndef PLAYERSTATE_H
|
|
|
|
|
#define PLAYERSTATE_H
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
#include "mathlib/mathlib.h"
|
|
|
|
|
|
|
|
|
|
class CPlayerState
|
|
|
|
|
{
|
2023-01-19 15:06:08 +01:00
|
|
|
|
public:
|
|
|
|
|
// This virtual method is necessary to generate a vtable in all cases
|
|
|
|
|
// (DECLARE_PREDICTABLE will generate a vtable also)!
|
|
|
|
|
virtual ~CPlayerState() {}
|
|
|
|
|
|
2023-01-18 01:34:40 +01:00
|
|
|
|
int playerEntityIndex;
|
|
|
|
|
char gap_c[4];
|
|
|
|
|
__int64 currentClass;
|
|
|
|
|
__int64 requestedClass;
|
|
|
|
|
__int64 onDeathClass;
|
|
|
|
|
__int64 oldClass;
|
2024-04-12 01:20:06 +02:00
|
|
|
|
string_t netname;
|
2023-01-18 01:34:40 +01:00
|
|
|
|
int fixangle;
|
2024-04-12 01:20:06 +02:00
|
|
|
|
QAngle anglechange;
|
2023-01-18 01:34:40 +01:00
|
|
|
|
int index;
|
2024-04-12 01:20:06 +02:00
|
|
|
|
QAngle forceWorldViewAngle;
|
2023-01-18 01:34:40 +01:00
|
|
|
|
int forceWorldViewAngleUntilTick;
|
|
|
|
|
bool replay;
|
|
|
|
|
char gap_5d[3];
|
|
|
|
|
int lastPlayerView_tickcount;
|
|
|
|
|
Vector3D lastPlayerView_origin;
|
2024-04-12 01:20:06 +02:00
|
|
|
|
QAngle lastPlayerView_angle;
|
2023-01-18 01:34:40 +01:00
|
|
|
|
bool deadflag;
|
|
|
|
|
char gap_7d[3];
|
2024-04-12 01:20:06 +02:00
|
|
|
|
QAngle m_localViewAngles;
|
2023-01-18 01:34:40 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // PLAYERSTATE_H
|