SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Functions
Projects/CoX/Servers/GameDatabase

Functions

void startGameDBSync (uint8_t for_game_server_id)
 
 GameDbSyncContext::GameDbSyncContext ()
 
 GameDbSyncContext::~GameDbSyncContext ()
 
bool GameDbSyncContext::loadAndConfigure ()
 
bool GameDbSyncContext::performUpdate (const SEGSEvents::CharacterUpdateData &data)
 
bool GameDbSyncContext::performUpdate (const SEGSEvents::CostumeUpdateData &data)
 
bool GameDbSyncContext::performUpdate (const SEGSEvents::PlayerUpdateData &data)
 
bool GameDbSyncContext::getAccount (const SEGSEvents::GameAccountRequestData &data, SEGSEvents::GameAccountResponseData &result)
 
bool GameDbSyncContext::removeCharacter (const SEGSEvents::RemoveCharacterRequestData &data)
 
bool GameDbSyncContext::checkNameClash (const SEGSEvents::WouldNameDuplicateRequestData &data, SEGSEvents::WouldNameDuplicateResponseData &result)
 
bool GameDbSyncContext::createNewChar (const SEGSEvents::CreateNewCharacterRequestData &data, SEGSEvents::CreateNewCharacterResponseData &result)
 
bool GameDbSyncContext::getEntity (const SEGSEvents::GetEntityRequestData &data, SEGSEvents::GetEntityResponseData &result)
 
bool GameDbSyncContext::getEntityByName (const SEGSEvents::GetEntityByNameRequestData &data, SEGSEvents::GetEntityByNameResponseData &result)
 
bool GameDbSyncContext::updateClientOptions (const SEGSEvents::SetClientOptionsData &data)
 
bool GameDbSyncContext::createEmail (const SEGSEvents::EmailCreateRequestData &data, SEGSEvents::EmailCreateResponseData &result)
 
bool GameDbSyncContext::markEmailAsRead (const SEGSEvents::EmailMarkAsReadData &data)
 
bool GameDbSyncContext::updateEmailOnCharDelete (const SEGSEvents::EmailUpdateOnCharDeleteData &data)
 
bool GameDbSyncContext::deleteEmail (const SEGSEvents::EmailRemoveData &data)
 
bool GameDbSyncContext::getEmail (const SEGSEvents::GetEmailRequestData &data, SEGSEvents::GetEmailResponseData &result)
 
bool GameDbSyncContext::getEmails (const SEGSEvents::GetEmailsRequestData &data, SEGSEvents::GetEmailsResponseData &result)
 
bool GameDbSyncContext::fillEmailRecipientId (const SEGSEvents::FillEmailRecipientIdRequestData &data, SEGSEvents::FillEmailRecipientIdResponseData &result)
 
bool GameDBSyncHandler::per_thread_startup () override
 
void GameDBSyncHandler::dispatch (SEGSEvents::Event *ev) override
 
void GameDBSyncHandler::serialize_from (std::istream &is) override
 
void GameDBSyncHandler::serialize_to (std::ostream &is) override
 
 GameDBSyncHandler::GameDBSyncHandler (uint8_t id)
 
void GameDBSyncHandler::on_character_remove (SEGSEvents::RemoveCharacterRequest *msg)
 
void GameDBSyncHandler::on_character_update (SEGSEvents::CharacterUpdateMessage *msg)
 
void GameDBSyncHandler::on_costume_update (SEGSEvents::CostumeUpdateMessage *msg)
 
void GameDBSyncHandler::on_player_update (SEGSEvents::PlayerUpdateMessage *msg)
 
void GameDBSyncHandler::on_client_options_update (SEGSEvents::SetClientOptionsMessage *msg)
 
void GameDBSyncHandler::on_account_request (SEGSEvents::GameAccountRequest *msg)
 
void GameDBSyncHandler::on_check_name_clash (SEGSEvents::WouldNameDuplicateRequest *ev)
 
void GameDBSyncHandler::on_create_new_char (SEGSEvents::CreateNewCharacterRequest *ev)
 
void GameDBSyncHandler::on_get_entity (SEGSEvents::GetEntityRequest *ev)
 
void GameDBSyncHandler::on_get_entity_by_name (SEGSEvents::GetEntityByNameRequest *ev)
 
void GameDBSyncHandler::on_email_create (SEGSEvents::EmailCreateRequest *ev)
 
void GameDBSyncHandler::on_email_mark_as_read (SEGSEvents::EmailMarkAsReadMessage *msg)
 
void GameDBSyncHandler::on_email_update_on_char_delete (SEGSEvents::EmailUpdateOnCharDeleteMessage *msg)
 
void GameDBSyncHandler::on_email_remove (SEGSEvents::EmailRemoveMessage *msg)
 
void GameDBSyncHandler::on_get_email (SEGSEvents::GetEmailRequest *ev)
 
void GameDBSyncHandler::on_get_emails (SEGSEvents::GetEmailsRequest *ev)
 
void GameDBSyncHandler::on_fill_email_recipient_id (SEGSEvents::FillEmailRecipientIdRequest *ev)
 

Detailed Description

segs_game_dbschema.png

Function Documentation

◆ checkNameClash()

bool GameDbSyncContext::checkNameClash ( const SEGSEvents::WouldNameDuplicateRequestData data,
SEGSEvents::WouldNameDuplicateResponseData result 
)

◆ createEmail()

bool GameDbSyncContext::createEmail ( const SEGSEvents::EmailCreateRequestData data,
SEGSEvents::EmailCreateResponseData result 
)

◆ createNewChar()

bool GameDbSyncContext::createNewChar ( const SEGSEvents::CreateNewCharacterRequestData data,
SEGSEvents::CreateNewCharacterResponseData result 
)
Here is the call graph for this function:

◆ deleteEmail()

bool GameDbSyncContext::deleteEmail ( const SEGSEvents::EmailRemoveData data)
Here is the caller graph for this function:

◆ dispatch()

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

Implements EventProcessor.

Here is the call graph for this function:

◆ fillEmailRecipientId()

bool GameDbSyncContext::fillEmailRecipientId ( const SEGSEvents::FillEmailRecipientIdRequestData data,
SEGSEvents::FillEmailRecipientIdResponseData result 
)

◆ GameDbSyncContext()

GameDbSyncContext::GameDbSyncContext ( )
default

◆ GameDBSyncHandler()

GameDBSyncHandler::GameDBSyncHandler ( uint8_t  id)
Here is the call graph for this function:

◆ getAccount()

bool GameDbSyncContext::getAccount ( const SEGSEvents::GameAccountRequestData data,
SEGSEvents::GameAccountResponseData result 
)

◆ getEmail()

bool GameDbSyncContext::getEmail ( const SEGSEvents::GetEmailRequestData data,
SEGSEvents::GetEmailResponseData result 
)

◆ getEmails()

bool GameDbSyncContext::getEmails ( const SEGSEvents::GetEmailsRequestData data,
SEGSEvents::GetEmailsResponseData result 
)

◆ getEntity()

bool GameDbSyncContext::getEntity ( const SEGSEvents::GetEntityRequestData data,
SEGSEvents::GetEntityResponseData result 
)

◆ getEntityByName()

bool GameDbSyncContext::getEntityByName ( const SEGSEvents::GetEntityByNameRequestData data,
SEGSEvents::GetEntityByNameResponseData result 
)

◆ loadAndConfigure()

bool GameDbSyncContext::loadAndConfigure ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ markEmailAsRead()

bool GameDbSyncContext::markEmailAsRead ( const SEGSEvents::EmailMarkAsReadData data)
Here is the caller graph for this function:

◆ on_account_request()

void GameDBSyncHandler::on_account_request ( SEGSEvents::GameAccountRequest *  msg)
protected

◆ on_character_remove()

void GameDBSyncHandler::on_character_remove ( SEGSEvents::RemoveCharacterRequest *  msg)
protected

◆ on_character_update()

void GameDBSyncHandler::on_character_update ( SEGSEvents::CharacterUpdateMessage *  msg)
protected
Here is the call graph for this function:

◆ on_check_name_clash()

void GameDBSyncHandler::on_check_name_clash ( SEGSEvents::WouldNameDuplicateRequest *  ev)
protected

◆ on_client_options_update()

void GameDBSyncHandler::on_client_options_update ( SEGSEvents::SetClientOptionsMessage *  msg)
protected
Here is the call graph for this function:

◆ on_costume_update()

void GameDBSyncHandler::on_costume_update ( SEGSEvents::CostumeUpdateMessage *  msg)
protected
Here is the call graph for this function:

◆ on_create_new_char()

void GameDBSyncHandler::on_create_new_char ( SEGSEvents::CreateNewCharacterRequest *  ev)
protected

◆ on_email_create()

void GameDBSyncHandler::on_email_create ( SEGSEvents::EmailCreateRequest *  ev)
protected
Here is the call graph for this function:

◆ on_email_mark_as_read()

void GameDBSyncHandler::on_email_mark_as_read ( SEGSEvents::EmailMarkAsReadMessage *  msg)
protected
Here is the call graph for this function:

◆ on_email_remove()

void GameDBSyncHandler::on_email_remove ( SEGSEvents::EmailRemoveMessage *  msg)
protected
Here is the call graph for this function:

◆ on_email_update_on_char_delete()

void GameDBSyncHandler::on_email_update_on_char_delete ( SEGSEvents::EmailUpdateOnCharDeleteMessage *  msg)
protected
Here is the call graph for this function:

◆ on_fill_email_recipient_id()

void GameDBSyncHandler::on_fill_email_recipient_id ( SEGSEvents::FillEmailRecipientIdRequest *  ev)
protected
Here is the call graph for this function:

◆ on_get_email()

void GameDBSyncHandler::on_get_email ( SEGSEvents::GetEmailRequest *  ev)
protected
Here is the call graph for this function:

◆ on_get_emails()

void GameDBSyncHandler::on_get_emails ( SEGSEvents::GetEmailsRequest *  ev)
protected
Here is the call graph for this function:

◆ on_get_entity()

void GameDBSyncHandler::on_get_entity ( SEGSEvents::GetEntityRequest *  ev)
protected

◆ on_get_entity_by_name()

void GameDBSyncHandler::on_get_entity_by_name ( SEGSEvents::GetEntityByNameRequest *  ev)
protected

◆ on_player_update()

void GameDBSyncHandler::on_player_update ( SEGSEvents::PlayerUpdateMessage *  msg)
protected
Here is the call graph for this function:

◆ per_thread_startup()

bool GameDBSyncHandler::per_thread_startup ( )
overrideprotectedvirtual

Called in svc before it starts servicing events, if it returns false, the svc will return -1 thus ending that particular thread

Reimplemented from EventProcessor.

Here is the call graph for this function:

◆ performUpdate() [1/3]

bool GameDbSyncContext::performUpdate ( const SEGSEvents::CharacterUpdateData data)
Here is the caller graph for this function:

◆ performUpdate() [2/3]

bool GameDbSyncContext::performUpdate ( const SEGSEvents::CostumeUpdateData data)

◆ performUpdate() [3/3]

bool GameDbSyncContext::performUpdate ( const SEGSEvents::PlayerUpdateData data)

◆ removeCharacter()

bool GameDbSyncContext::removeCharacter ( const SEGSEvents::RemoveCharacterRequestData data)

◆ serialize_from()

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

Implements EventProcessor.

◆ serialize_to()

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

Implements EventProcessor.

◆ startGameDBSync()

void startGameDBSync ( uint8_t  for_game_server_id)

◆ updateClientOptions()

bool GameDbSyncContext::updateClientOptions ( const SEGSEvents::SetClientOptionsData data)
Here is the caller graph for this function:

◆ updateEmailOnCharDelete()

bool GameDbSyncContext::updateEmailOnCharDelete ( const SEGSEvents::EmailUpdateOnCharDeleteData data)
Here is the caller graph for this function:

◆ ~GameDbSyncContext()

GameDbSyncContext::~GameDbSyncContext ( )
default