forked from 0ad/0ad
23 lines
271 B
C++
Executable File
23 lines
271 B
C++
Executable File
#ifndef _Player_H
|
|
#define _Player_H
|
|
|
|
#include "CStr.h"
|
|
|
|
class CNetMessage;
|
|
|
|
class CPlayer
|
|
{
|
|
CStrW m_Name;
|
|
uint m_PlayerID;
|
|
|
|
public:
|
|
CPlayer(uint playerID);
|
|
|
|
bool ValidateCommand(CNetMessage *pMsg);
|
|
|
|
inline const CStrW &GetName() const
|
|
{ return m_Name; }
|
|
};
|
|
|
|
#endif
|