You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.0 KiB
55 lines
1.0 KiB
//========= 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
|
|
|