Game::Client Class Reference

The base of all game clients.

#include <Client.hpp>

Inheritance diagram for Game::Client:

Network::Connection System::Object

List of all members.

Public Types

typedef VOID(Client::* Procedure )(DWORD Numeric, Parameters &Arguments)

Public Member Functions

virtual FunctionTableGetFunctionTable ()=0
VOID SendMessage (DWORD Numeric, CONST BYTE *Data, DWORD Length)

Public Attributes

DWORD SessionKey
System::Chunk ReceiveBuffer
FunctionTableFunctions
AccountInformation

Private Member Functions

VOID Create ()
VOID Connected ()
VOID Received (CONST BYTE *Data, DWORD Length)
VOID Disconnected ()

Classes

class  FunctionTable
 Manages a function hash table. More...
class  Message
 A message to be sent to the client. More...
class  Parameters
 A class to manage the parameters of a client message. More...


Member Typedef Documentation

typedef VOID( Client::* Game::Client::Procedure)(DWORD Numeric, Parameters &Arguments)

The prototype of a function pointer.


Member Function Documentation

virtual FunctionTable* Game::Client::GetFunctionTable (  )  [pure virtual]

Retrieves the derived class function table.

VOID Game::Client::SendMessage ( DWORD  Numeric,
CONST BYTE *  Data,
DWORD  Length 
)

Sends a message to the client.

VOID Game::Client::Create (  )  [private, virtual]

Called when an object is created.

Reimplemented from System::Object.

VOID Game::Client::Connected (  )  [private, virtual]

Called when the connection is created.

Implements Network::Connection.

VOID Game::Client::Received ( CONST BYTE *  Data,
DWORD  Length 
) [private, virtual]

Called when data is received.

Implements Network::Connection.

VOID Game::Client::Disconnected (  )  [private, virtual]

Called when connection is broken.

Implements Network::Connection.


Member Data Documentation

DWORD Game::Client::SessionKey

Key sent to the client, which will be used to encrypt packet checksums.

System::Chunk Game::Client::ReceiveBuffer

Storage used for not yet completed packets sent by the client.

FunctionTable* Game::Client::Functions

The hash table of client functions.

Account* Game::Client::Information

The account information associated with the client.


The documentation for this class was generated from the following files:
Generated on Wed Dec 5 14:53:00 2007 for Aerospace Engine by  doxygen 1.5.3