SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
Projects/CoX/Servers/GameServer

Classes

class  GameServer::PrivateData
 

Functions

GameLinkEventGameEventFactory::EventFromStream (BitStream &bs) override
 
void UpdateServer::dependent_dump () const
 
void UpdateServer::serializeto (BitStream &tgt) const override
 
void UpdateServer::serializefrom (BitStream &src) override
 
void GameEntryError::serializeto (BitStream &tgt) const override
 
void GameEntryError::serializefrom (BitStream &src) override
 
void CharacterSlots::serializeto (BitStream &tgt) const override
 
void CharacterSlots::serializefrom (BitStream &src) override
 
void UpdateCharacter::serializeto (BitStream &bs) const override
 
void UpdateCharacter::serializefrom (BitStream &bs) override
 
void CharacterResponse::serializeto (BitStream &bs) const override
 
void CharacterResponse::serializefrom (BitStream &bs) override
 
void DeletionAcknowledged::serializeto (BitStream &tgt) const override
 
 GameHandler::GameHandler ()
 
 GameHandler::~GameHandler ()
 
void GameHandler::start ()
 
void GameHandler::dispatch (SEGSEvent *ev) override
 
void GameHandler::on_game_db_error (GameDbErrorMessage *ev)
 
void GameHandler::on_account_data (GameAccountResponse *ev)
 This handler is called when we get the account information for a. More...
 
void GameHandler::on_connection_request (ConnectRequest *ev)
 
void GameHandler::on_update_server (UpdateServer *ev)
 
void GameHandler::on_update_character (UpdateCharacter *ev)
 
void GameHandler::on_idle (IdleEvent *ev)
 
void GameHandler::on_check_links ()
 
void GameHandler::report_service_status ()
 
void GameHandler::on_timeout (TimerEvent *ev)
 
void GameHandler::on_disconnect (DisconnectRequest *ev)
 
void GameHandler::on_link_lost (SEGSEvent *ev)
 
void GameHandler::on_character_deleted (RemoveCharacterResponse *ev)
 
void GameHandler::on_delete_character (DeleteCharacter *ev)
 
void GameHandler::on_client_expected (ExpectMapClientResponse *ev)
 
void GameHandler::on_map_req (MapServerAddrRequest *ev)
 
void GameHandler::on_unknown_link_event (GameUnknownRequest *ev)
 
void GameHandler::on_expect_client (ExpectClientRequest *ev)
 
void GameHandler::on_client_connected_to_other_server (ClientConnectedMessage *ev)
 
void GameHandler::on_client_disconnected_from_other_server (ClientDisconnectedMessage *ev)
 
void GameHandler::reap_stale_links ()
 
void GameServer::dispatch (SEGSEvent *ev) override
 
 GameServer::GameServer (int id)
 
 GameServer::~GameServer () override
 
bool GameServer::ReadConfigAndRestart ()
 
bool GameServer::ShutDown ()
 
const ACE_INET_Addr & GameServer::getAddress ()
 
QString GameServer::getName ()
 
uint8_t GameServer::getId ()
 
uint16_t GameServer::getCurrentPlayers ()
 
uint16_t GameServer::getMaxPlayers ()
 
int GameServer::getMaxCharacterSlots () const
 
int GameServer::handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) override
 

Variables

static GameEventFactory GameLink::m_factory
 

Detailed Description

Function Documentation

void UpdateServer::dependent_dump ( ) const
void GameServer::dispatch ( SEGSEvent ev)
overrideprotectedvirtual

Implements EventProcessor.

Here is the call graph for this function:

void GameHandler::dispatch ( SEGSEvent ev)
overrideprotectedvirtual

Implements EventProcessor.

Here is the call graph for this function:

GameLinkEvent * GameEventFactory::EventFromStream ( BitStream bs)
overridevirtual

Reimplemented from CRUD_EventFactory.

Here is the call graph for this function:

GameHandler::GameHandler ( )
GameServer::GameServer ( int  id)

Here is the call graph for this function:

const ACE_INET_Addr & GameServer::getAddress ( )

Here is the caller graph for this function:

uint16_t GameServer::getCurrentPlayers ( )
uint8_t GameServer::getId ( )

Here is the caller graph for this function:

int GameServer::getMaxCharacterSlots ( ) const

Here is the caller graph for this function:

uint16_t GameServer::getMaxPlayers ( )

Here is the caller graph for this function:

QString GameServer::getName ( )
int GameServer::handle_close ( ACE_HANDLE  handle,
ACE_Reactor_Mask  close_mask 
)
overrideprotected
void GameHandler::on_account_data ( GameAccountResponse *  ev)
protected

This handler is called when we get the account information for a.

Parameters
ev

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_character_deleted ( RemoveCharacterResponse *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_check_links ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_client_connected_to_other_server ( ClientConnectedMessage *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_client_disconnected_from_other_server ( ClientDisconnectedMessage *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_client_expected ( ExpectMapClientResponse *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_connection_request ( ConnectRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_delete_character ( DeleteCharacter ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_disconnect ( DisconnectRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_expect_client ( ExpectClientRequest *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_game_db_error ( GameDbErrorMessage *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_idle ( IdleEvent ev)
protected

Here is the caller graph for this function:

void GameHandler::on_link_lost ( SEGSEvent ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_map_req ( MapServerAddrRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_timeout ( TimerEvent ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_unknown_link_event ( GameUnknownRequest ev)
protected

Here is the caller graph for this function:

void GameHandler::on_update_character ( UpdateCharacter ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::on_update_server ( UpdateServer ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

bool GameServer::ReadConfigAndRestart ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::reap_stale_links ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void GameHandler::report_service_status ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void UpdateCharacter::serializefrom ( BitStream bs)
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void CharacterResponse::serializefrom ( BitStream bs)
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void UpdateServer::serializefrom ( BitStream src)
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void CharacterSlots::serializefrom ( BitStream src)
overridevirtual

Implements CRUDLink_Event.

void GameEntryError::serializefrom ( BitStream src)
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void UpdateCharacter::serializeto ( BitStream bs) const
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void CharacterResponse::serializeto ( BitStream bs) const
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void UpdateServer::serializeto ( BitStream tgt) const
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void CharacterSlots::serializeto ( BitStream tgt) const
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void GameEntryError::serializeto ( BitStream tgt) const
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

void DeletionAcknowledged::serializeto ( BitStream tgt) const
overridevirtual

Implements CRUDLink_Event.

Here is the call graph for this function:

bool GameServer::ShutDown ( )
void GameHandler::start ( )

Here is the call graph for this function:

GameHandler::~GameHandler ( )
default
GameServer::~GameServer ( )
override

Variable Documentation

GameEventFactory GameLink::m_factory
staticprotected