Player Class Reference

#include <Player.h>

List of all members.


Public Member Functions

 Player ()
 Public constructor.
virtual ~Player ()
 Virtual destructor.
void Init (const std::string &rUsername, const std::string &rPlayerId)
 Initializes player.
const std::string & GetUsername () const
 Gets username.
const std::string & GetPlayerId () const
 Gets player ID.

Private Attributes

std::string m_Username
 Username.
std::string m_PlayerId
 Player ID.

Detailed Description

(*** add brief description here ***)
Full Description
(*** add full description here ***)

Constructor & Destructor Documentation

Player (  ) 

Public constructor.

Full Description
This method creates a new instance of the class.
Returns:
New instance of the class.

~Player (  )  [virtual]

Virtual destructor.

Full Description
This method destroys an existing instance of the class.
Returns:
None.


Member Function Documentation

void Init ( const std::string &  rUsername,
const std::string &  rPlayerId 
) [inline]

Initializes player.

const std::string& GetUsername (  )  const [inline]

Gets username.

const std::string& GetPlayerId (  )  const [inline]

Gets player ID.


Member Data Documentation

std::string m_Username [private]

Username.

std::string m_PlayerId [private]

Player ID.


The documentation for this class was generated from the following files: