#include <Client.hpp>
Public Types | |
typedef VOID(Client::* | Procedure )(DWORD Numeric, Parameters &Arguments) |
Public Member Functions | |
virtual FunctionTable * | GetFunctionTable ()=0 |
VOID | SendMessage (DWORD Numeric, CONST BYTE *Data, DWORD Length) |
Public Attributes | |
DWORD | SessionKey |
System::Chunk | ReceiveBuffer |
FunctionTable * | Functions |
Account * | Information |
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... |
typedef VOID( Client::* Game::Client::Procedure)(DWORD Numeric, Parameters &Arguments) |
The prototype of a function pointer.
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.
DWORD Game::Client::SessionKey |
Key sent to the client, which will be used to encrypt packet checksums.
Storage used for not yet completed packets sent by the client.
The hash table of client functions.
The account information associated with the client.