diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/hl2/c_hl2_playerlocaldata.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/hl2/c_hl2_playerlocaldata.h')
| -rw-r--r-- | game/client/hl2/c_hl2_playerlocaldata.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/game/client/hl2/c_hl2_playerlocaldata.h b/game/client/hl2/c_hl2_playerlocaldata.h new file mode 100644 index 0000000..8001991 --- /dev/null +++ b/game/client/hl2/c_hl2_playerlocaldata.h @@ -0,0 +1,55 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $NoKeywords: $ +//=============================================================================// + +#if !defined( C_HL2_PLAYERLOCALDATA_H ) +#define C_HL2_PLAYERLOCALDATA_H +#ifdef _WIN32 +#pragma once +#endif + + +#include "dt_recv.h" + +#include "hl2/hl_movedata.h" + +EXTERN_RECV_TABLE( DT_HL2Local ); + + +class C_HL2PlayerLocalData +{ +public: + DECLARE_PREDICTABLE(); + DECLARE_CLASS_NOBASE( C_HL2PlayerLocalData ); + DECLARE_EMBEDDED_NETWORKVAR(); + + C_HL2PlayerLocalData(); + + float m_flSuitPower; + bool m_bZooming; + int m_bitsActiveDevices; + int m_iSquadMemberCount; + int m_iSquadMedicCount; + bool m_fSquadInFollowMode; + bool m_bWeaponLowered; + EHANDLE m_hAutoAimTarget; + Vector m_vecAutoAimPoint; + bool m_bDisplayReticle; + bool m_bStickyAutoAim; + bool m_bAutoAimTarget; +#ifdef HL2_EPISODIC + float m_flFlashBattery; + Vector m_vecLocatorOrigin; +#endif + + // Ladder related data + EHANDLE m_hLadder; + LadderMove_t m_LadderMove; +}; + + +#endif |