SEGS  0.6.1-develop [3e741b81]
Super Entity Game Server
Classes | Functions | Variables
Projects/CoX/Servers/GameServer

Classes

class  GameServer::PrivateData
 

Functions

void SEGSEvents::UpdateServer::dependent_dump () const
 
void SEGSEvents::UpdateServer::serializeto (BitStream &tgt) const override
 
void SEGSEvents::UpdateServer::serializefrom (BitStream &src) override
 
void SEGSEvents::GameEntryError::serializeto (BitStream &tgt) const override
 
void SEGSEvents::GameEntryError::serializefrom (BitStream &src) override
 
void SEGSEvents::CharacterSlots::serializeto (BitStream &tgt) const override
 
void SEGSEvents::CharacterSlots::serializefrom (BitStream &src) override
 
void SEGSEvents::UpdateCharacter::serializeto (BitStream &bs) const override
 
void SEGSEvents::UpdateCharacter::serializefrom (BitStream &bs) override
 
void SEGSEvents::CharacterResponse::serializeto (BitStream &bs) const override
 
void SEGSEvents::CharacterResponse::serializefrom (BitStream &bs) override
 
void SEGSEvents::DeleteAcknowledged::serializeto (BitStream &tgt) const override
 
SEGSEvents::GameLinkEventGameEventFactory::EventFromStream (BitStream &bs) override
 
 GameHandler::GameHandler ()
 
 GameHandler::~GameHandler () override
 
void GameHandler::start ()
 
void GameHandler::dispatch (SEGSEvents::Event *ev) override
 
void GameHandler::on_game_db_error (SEGSEvents::GameDbErrorMessage *ev)
 
void GameHandler::on_account_data (SEGSEvents::GameAccountResponse *ev)
 This handler is called when we get the account information for a. More...
 
void GameHandler::on_connection_request (SEGSEvents::ConnectRequest *ev)
 
void GameHandler::on_update_server (SEGSEvents::UpdateServer *ev)
 
void GameHandler::on_update_character (SEGSEvents::UpdateCharacter *ev)
 
void GameHandler::on_idle (SEGSEvents::Idle *ev)
 
void GameHandler::on_check_links ()
 
void GameHandler::report_service_status ()
 
void GameHandler::on_timeout (SEGSEvents::Timeout *ev)
 
void GameHandler::on_disconnect (SEGSEvents::DisconnectRequest *ev)
 
void GameHandler::on_link_lost (SEGSEvents::Event *ev)
 
void GameHandler::on_character_deleted (SEGSEvents::RemoveCharacterResponse *ev)
 
void GameHandler::serialize_from (std::istream &is) override
 
void GameHandler::serialize_to (std::ostream &is) override
 
void GameHandler::on_delete_character (SEGSEvents::DeleteCharacter *ev)
 
void GameHandler::on_client_expected (SEGSEvents::ExpectMapClientResponse *ev)
 
void GameHandler::on_map_req (SEGSEvents::MapServerAddrRequest *ev)
 
void GameHandler::on_unknown_link_event (SEGSEvents::UnknownEvent *ev)
 
void GameHandler::on_expect_client (SEGSEvents::ExpectClientRequest *ev)
 
void GameHandler::on_client_connected_to_other_server (SEGSEvents::ClientConnectedMessage *ev)
 
void GameHandler::on_client_disconnected_from_other_server (SEGSEvents::ClientDisconnectedMessage *ev)
 
void GameHandler::reap_stale_links ()
 
void GameServer::dispatch (SEGSEvents::Event *ev) override
 
void GameServer::serialize_from (std::istream &is) override
 
void GameServer::serialize_to (std::ostream &os) override
 
 GameServer::GameServer (int id)
 
 GameServer::~GameServer () override
 
bool GameServer::ReadConfigAndRestart ()
 
const ACE_INET_Addr & GameServer::getAddress ()
 
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

◆ dependent_dump()

void UpdateServer::dependent_dump ( ) const

◆ dispatch() [1/2]

void GameServer::dispatch ( SEGSEvents::Event ev)
overrideprotectedvirtual

Implements EventProcessor.

Here is the call graph for this function:

◆ dispatch() [2/2]

void GameHandler::dispatch ( SEGSEvents::Event ev)
overrideprotectedvirtual

Implements EventProcessor.

Here is the call graph for this function:

◆ EventFromStream()

GameLinkEvent * GameEventFactory::EventFromStream ( BitStream bs)
overridevirtual

Reimplemented from CRUD_EventFactory.

Here is the call graph for this function:

◆ GameHandler()

GameHandler::GameHandler ( )
Here is the call graph for this function:

◆ GameServer()

GameServer::GameServer ( int  id)
Here is the call graph for this function:

◆ getAddress()

const ACE_INET_Addr & GameServer::getAddress ( )

◆ getCurrentPlayers()

uint16_t GameServer::getCurrentPlayers ( )

◆ getId()

uint8_t GameServer::getId ( )

◆ getMaxCharacterSlots()

int GameServer::getMaxCharacterSlots ( ) const

◆ getMaxPlayers()

uint16_t GameServer::getMaxPlayers ( )

◆ handle_close()

int GameServer::handle_close ( ACE_HANDLE  handle,
ACE_Reactor_Mask  close_mask 
)
overrideprotected

◆ on_account_data()

void GameHandler::on_account_data ( SEGSEvents::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:

◆ on_character_deleted()

void GameHandler::on_character_deleted ( SEGSEvents::RemoveCharacterResponse *  ev)
protected
Here is the call graph for this function:

◆ on_check_links()

void GameHandler::on_check_links ( )
protected
Here is the call graph for this function:

◆ on_client_connected_to_other_server()

void GameHandler::on_client_connected_to_other_server ( SEGSEvents::ClientConnectedMessage *  ev)
protected
Here is the call graph for this function:

◆ on_client_disconnected_from_other_server()

void GameHandler::on_client_disconnected_from_other_server ( SEGSEvents::ClientDisconnectedMessage *  ev)
protected
Here is the call graph for this function:

◆ on_client_expected()

void GameHandler::on_client_expected ( SEGSEvents::ExpectMapClientResponse *  ev)
protected
Here is the call graph for this function:

◆ on_connection_request()

void GameHandler::on_connection_request ( SEGSEvents::ConnectRequest ev)
protected
Here is the call graph for this function:

◆ on_delete_character()

void GameHandler::on_delete_character ( SEGSEvents::DeleteCharacter ev)
protected
Here is the call graph for this function:

◆ on_disconnect()

void GameHandler::on_disconnect ( SEGSEvents::DisconnectRequest ev)
protected
Here is the call graph for this function:

◆ on_expect_client()

void GameHandler::on_expect_client ( SEGSEvents::ExpectClientRequest *  ev)
protected
Here is the call graph for this function:

◆ on_game_db_error()

void GameHandler::on_game_db_error ( SEGSEvents::GameDbErrorMessage *  ev)
protected
Here is the call graph for this function:

◆ on_idle()

void GameHandler::on_idle ( SEGSEvents::Idle ev)
protected

◆ on_link_lost()

void GameHandler::on_link_lost ( SEGSEvents::Event ev)
protected
Here is the call graph for this function:

◆ on_map_req()

void GameHandler::on_map_req ( SEGSEvents::MapServerAddrRequest ev)
protected
Here is the call graph for this function:

◆ on_timeout()

void GameHandler::on_timeout ( SEGSEvents::Timeout ev)
protected
Here is the call graph for this function:

◆ on_unknown_link_event()

void GameHandler::on_unknown_link_event ( SEGSEvents::UnknownEvent ev)
protected

◆ on_update_character()

void GameHandler::on_update_character ( SEGSEvents::UpdateCharacter ev)
protected
Here is the call graph for this function:

◆ on_update_server()

void GameHandler::on_update_server ( SEGSEvents::UpdateServer ev)
protected

◆ ReadConfigAndRestart()

bool GameServer::ReadConfigAndRestart ( )
Here is the call graph for this function:

◆ reap_stale_links()

void GameHandler::reap_stale_links ( )
protected
Here is the call graph for this function:

◆ report_service_status()

void GameHandler::report_service_status ( )
protected
Here is the call graph for this function:

◆ serialize_from() [1/2]

void GameServer::serialize_from ( std::istream &  is)
overrideprotectedvirtual

Implements EventProcessor.

◆ serialize_from() [2/2]

void GameHandler::serialize_from ( std::istream &  is)
overrideprotectedvirtual

Implements EventProcessor.

◆ serialize_to() [1/2]

void GameServer::serialize_to ( std::ostream &  os)
overrideprotectedvirtual

Implements EventProcessor.

◆ serialize_to() [2/2]

void GameHandler::serialize_to ( std::ostream &  is)
overrideprotectedvirtual

Implements EventProcessor.

◆ serializefrom() [1/5]

void UpdateCharacter::serializefrom ( BitStream bs)
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializefrom() [2/5]

void CharacterResponse::serializefrom ( BitStream bs)
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializefrom() [3/5]

void UpdateServer::serializefrom ( BitStream src)
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializefrom() [4/5]

void CharacterSlots::serializefrom ( BitStream src)
overridevirtual

◆ serializefrom() [5/5]

void GameEntryError::serializefrom ( BitStream src)
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializeto() [1/6]

void UpdateCharacter::serializeto ( BitStream bs) const
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializeto() [2/6]

void CharacterResponse::serializeto ( BitStream bs) const
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializeto() [3/6]

void UpdateServer::serializeto ( BitStream tgt) const
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializeto() [4/6]

void CharacterSlots::serializeto ( BitStream tgt) const
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializeto() [5/6]

void GameEntryError::serializeto ( BitStream tgt) const
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ serializeto() [6/6]

void DeleteAcknowledged::serializeto ( BitStream tgt) const
overridevirtual

Implements SEGSEvents::CRUDLink_Event.

Here is the call graph for this function:

◆ start()

void GameHandler::start ( )

◆ ~GameHandler()

GameHandler::~GameHandler ( )
overridedefault
Here is the caller graph for this function:

◆ ~GameServer()

GameServer::~GameServer ( )
override

Variable Documentation

◆ m_factory

GameEventFactory GameLink::m_factory
staticprotected