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.

32 lines
729 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: DOD's custom CPlayerResource
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef DOD_PLAYER_RESOURCE_H
  8. #define DOD_PLAYER_RESOURCE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class CDODPlayerResource : public CPlayerResource
  13. {
  14. DECLARE_CLASS( CDODPlayerResource, CPlayerResource );
  15. public:
  16. DECLARE_SERVERCLASS();
  17. DECLARE_DATADESC();
  18. CDODPlayerResource();
  19. virtual void UpdatePlayerData( void );
  20. virtual void Spawn( void );
  21. protected:
  22. CNetworkArray( int, m_iObjScore, MAX_PLAYERS+1 );
  23. CNetworkArray( int, m_iPlayerClass, MAX_PLAYERS+1 );
  24. };
  25. #endif // DOD_PLAYER_RESOURCE_H