src/Account.h

00001 #ifndef ACCOUNT_H_
00002 #define ACCOUNT_H_
00003 
00004 #include <iostream>
00005 #include "SDL.h"
00006 
00007 class Char; // Forward declarations.
00008 class Server;
00009 class Client;
00010 
00011 class Account {
00012 public:
00025     Account(Server* server,
00026             Client* client,
00027             Uint32 id,
00028             const std::string& username ,
00029             const std::string& name ,
00030             const std::string& surname ,
00031             const std::string& email,
00032             Uint32 char_id );
00033 
00037     virtual ~Account();
00038 
00046     Uint32 getId() {return myId;}
00047 
00055     Char* getChar() {return myChar;}
00056 
00057 private:
00058     Server* myServer;       
00059     Client* myClient;       
00060     Uint32 myId;            
00061     std::string myUsername; 
00062     std::string myName;     
00063     std::string mySurname;  
00064     std::string myEmail;    
00065     Uint32 myCharID;        
00067     Char* myChar;           
00070 };
00071 
00072 #endif /*ACCOUNT_H_*/

Generated on Mon Dec 3 04:30:12 2007 for lo-testserver by  doxygen 1.3.9.1