Player Class Reference

Object representing a player, but not a character. More...

#include <eoserv.hpp>

Collaboration diagram for Player:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Player (std::string username)
bool AddCharacter (std::string name, int gender, int hairstyle, int haircolor, int race)
void ChangePass (std::string password)
 ~Player ()

Static Public Member Functions

static bool ValidName (std::string username)
static PlayerLogin (std::string username, std::string password)
static bool Create (std::string username, std::string password, std::string fullname, std::string location, std::string email, std::string computer, std::string hdid, std::string ip)
static bool Exists (std::string username)
static bool Online (std::string username)

Public Attributes

bool online
unsigned int id
std::string username
std::string password
std::list< Character * > characters
Charactercharacter
EOClientclient


Detailed Description

Object representing a player, but not a character.

Constructor & Destructor Documentation

Player::Player ( std::string  username  ) 

Player::~Player (  ) 


Member Function Documentation

static bool Player::ValidName ( std::string  username  )  [static]

static Player* Player::Login ( std::string  username,
std::string  password 
) [static]

static bool Player::Create ( std::string  username,
std::string  password,
std::string  fullname,
std::string  location,
std::string  email,
std::string  computer,
std::string  hdid,
std::string  ip 
) [static]

static bool Player::Exists ( std::string  username  )  [static]

bool Player::AddCharacter ( std::string  name,
int  gender,
int  hairstyle,
int  haircolor,
int  race 
)

void Player::ChangePass ( std::string  password  ) 

static bool Player::Online ( std::string  username  )  [static]


Member Data Documentation

unsigned int Player::id

std::string Player::username

std::string Player::password


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

Generated on Sun Apr 5 20:28:24 2009 for EOServ by  doxygen 1.5.7.1