Team Fortress 2 Source Code as on 22/4/2020
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

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $NoKeywords: $
  7. //=============================================================================//
  8. #if !defined( C_HL2_PLAYERLOCALDATA_H )
  9. #define C_HL2_PLAYERLOCALDATA_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "dt_recv.h"
  14. #include "hl2/hl_movedata.h"
  15. EXTERN_RECV_TABLE( DT_HL2Local );
  16. class C_HL2PlayerLocalData
  17. {
  18. public:
  19. DECLARE_PREDICTABLE();
  20. DECLARE_CLASS_NOBASE( C_HL2PlayerLocalData );
  21. DECLARE_EMBEDDED_NETWORKVAR();
  22. C_HL2PlayerLocalData();
  23. float m_flSuitPower;
  24. bool m_bZooming;
  25. int m_bitsActiveDevices;
  26. int m_iSquadMemberCount;
  27. int m_iSquadMedicCount;
  28. bool m_fSquadInFollowMode;
  29. bool m_bWeaponLowered;
  30. EHANDLE m_hAutoAimTarget;
  31. Vector m_vecAutoAimPoint;
  32. bool m_bDisplayReticle;
  33. bool m_bStickyAutoAim;
  34. bool m_bAutoAimTarget;
  35. #ifdef HL2_EPISODIC
  36. float m_flFlashBattery;
  37. Vector m_vecLocatorOrigin;
  38. #endif
  39. // Ladder related data
  40. EHANDLE m_hLadder;
  41. LadderMove_t m_LadderMove;
  42. };
  43. #endif