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