0ad/source/ps/Player.h
2004-08-16 15:19:17 +00:00

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