0ad/source/ps/Player.h
olsner 4d9c7684df w00t! first batch of actual network support!
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00

22 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