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

Classes

class  MapLinkEndpoint
 
class  MapServer::PrivateData
 The MapServer::PrivateData class - PIMPL idiom for internal MapServer data. More...
 
struct  ScriptingEngine::ScriptingEnginePrivate
 

Macros

#define SOL_CHECK_ARGUMENTS
 

Functions

uint32_t getIdx (const Entity &e)
 
uint32_t getDbId (const Entity &e)
 
uint32_t getAccessLevel (const Entity &e)
 
uint32_t getTargetIdx (const Entity &e)
 
uint32_t getAssistTargetIdx (const Entity &e)
 
glm::vec3 getSpeed (const Entity &e)
 
float getBackupSpd (const Entity &e)
 
float getJumpHeight (const Entity &e)
 
uint8_t getUpdateId (const Entity &e)
 
void setDbId (Entity &e, uint8_t val)
 
void setMapIdx (Entity &e, uint32_t val)
 
void setSpeed (Entity &e, float v1, float v2, float v3)
 
void setBackupSpd (Entity &e, float val)
 
void setJumpHeight (Entity &e, float val)
 
void setUpdateID (Entity &e, uint8_t val)
 
void setTeamID (Entity &e, uint8_t team_id)
 
void setSuperGroup (Entity &e, int sg_id, QString sg_name, uint32_t sg_rank)
 
void setAssistTarget (Entity &e)
 
void setu3 (Entity &e, int val)
 
void toggleFly (Entity &e)
 
void toggleFalling (Entity &e)
 
void toggleJumping (Entity &e)
 
void toggleSliding (Entity &e)
 
void toggleStunned (Entity &e)
 
void toggleJumppack (Entity &e)
 
void toggleControlsDisabled (Entity &e)
 
void toggleFullUpdate (Entity &e)
 
void toggleControlId (Entity &e)
 
void charUpdateDB (Entity *e)
 
void charUpdateGUI (Entity *e)
 
int getEntityOriginIndex (bool is_player, const QString &origin_name)
 
int getEntityClassIndex (bool is_player, const QString &class_name)
 
EntitygetEntity (MapClientSession *src, const QString &name)
 
EntitygetEntity (MapClientSession *src, uint32_t idx)
 
EntitygetEntityByDBID (MapClientSession *src, uint32_t db_id)
 
void sendServerMOTD (MapClientSession *tgt)
 
void sendEmailHeaders (Entity *e)
 
void readEmailMessage (Entity *e, const int id)
 
uint32_t getLevel (const Character &c)
 
uint32_t getCombatLevel (const Character &c)
 
float getHP (const Character &c)
 
float getEnd (const Character &c)
 
uint64_t getLastCostumeId (const Character &c)
 
const QString & getOrigin (const Character &c)
 
const QString & getClass (const Character &c)
 
const QString & getMapName (const Character &c)
 
uint32_t getXP (const Character &c)
 
uint32_t getDebt (const Character &c)
 
uint32_t getPatrolXP (const Character &c)
 
const QString & getGenericTitle (const Character &c)
 
const QString & getOriginTitle (const Character &c)
 
const QString & getSpecialTitle (const Character &c)
 
uint32_t getInf (const Character &c)
 
const QString & getDescription (const Character &c)
 
const QString & getBattleCry (const Character &c)
 
const QString & getAlignment (const Character &c)
 
void setLevel (Character &c, uint32_t val)
 
void setCombatLevel (Character &c, uint32_t val)
 
void setHP (Character &c, float val)
 
void setEnd (Character &c, float val)
 
void setLastCostumeId (Character &c, uint64_t val)
 
void setMapName (Character &c, const QString &val)
 
void setXP (Character &c, uint32_t val)
 
void setDebt (Character &c, uint32_t val)
 
void setTitles (Character &c, bool prefix, QString generic, QString origin, QString special)
 
void setInf (Character &c, uint32_t val)
 
void setDescription (Character &c, QString val)
 
void setBattleCry (Character &c, QString val)
 
void toggleAFK (Character &c, const QString &msg)
 
void toggleTeamBuffs (PlayerData &c)
 
void toggleLFG (Entity &e)
 
void messageOutput (MessageChannel ch, QString &msg, Entity &tgt)
 
void sendFloatingNumbers (Entity *src, uint32_t tgt_idx, int32_t amount)
 
void sendFriendsListUpdate (Entity *src, FriendsList *friends_list)
 
void sendSidekickOffer (Entity *tgt, uint32_t src_db_id)
 
void sendTeamLooking (Entity *tgt)
 
void sendTeamOffer (Entity *src, Entity *tgt)
 
void sendBuffs (const Entity &src, BitStream &bs)
 
void serializeto (const Entity &src, ClientEntityStateBelief &belief, BitStream &bs)
 
QString process_replacement_strings (MapClientSession *sender, const QString &msg_text)
 
int luaopen_package (lua_State *)
 
int luaopen_io (lua_State *)
 
int luaopen_os (lua_State *)
 
void runCommand (QString &str, MapClientSession &e)
 
void markFlying (Entity &e, bool is_flying)
 
float animateValue (float v, float start, float target, float length, float dT)
 
 EntityStore::EntityStore ()
 
EntityEntityStore::get ()
 
void EntityStore::release (Entity *src)
 
 EntityManager::EntityManager ()
 
void EntityManager::sendDebuggedEntities (BitStream &tgt) const
 
void EntityManager::sendGlobalEntDebugInfo (BitStream &tgt) const
 
void EntityManager::sendDeletes (BitStream &tgt, MapClientSession *client) const
 
void EntityManager::sendEntities (BitStream &tgt, MapClientSession *target, bool is_incremental) const
 
void EntityManager::InsertPlayer (Entity *)
 
EntityEntityManager::CreatePlayer ()
 
EntityEntityManager::CreateNpc (const Parse_NPC &tpl, int idx, int variant)
 
void EntityManager::removeEntityFromActiveList (Entity *ent)
 
MapLinkEventMapEventFactory::EventFromStream (BitStream &bs) override
 
static MapLinkEventMapEventFactory::CommandEventFromStream (BitStream &bs)
 
 MapInstance::MapInstance (const QString &name, const ListenAndLocationAddresses &listen_addr)
 this value is sent to the clients More...
 
void MapInstance::start ()
 
void MapInstance::spin_down ()
 This function should stop the world simulation, and save all entities to db It is meant to be ran when MapInstance is getting scrubbed for reuse. More...
 
bool MapInstance::spin_up_for (uint8_t game_server_id, uint32_t owner_id, uint32_t instance_id)
 This function should prepare the map for use by the specified game server. More...
 
 MapInstance::~MapInstance () override
 
void MapInstance::on_client_connected_to_other_server (ClientConnectedMessage *ev)
 
void MapInstance::on_client_disconnected_from_other_server (ClientDisconnectedMessage *ev)
 
void MapInstance::reap_stale_links ()
 
void MapInstance::enqueue_client (MapClientSession *clnt)
 
void MapInstance::dispatch (SEGSEvent *ev) override
 
void MapInstance::on_idle (IdleEvent *ev)
 
void MapInstance::on_connection_request (class ConnectRequest *ev)
 
void MapInstance::on_shortcuts_request (class ShortcutsRequest *ev)
 
void MapInstance::on_client_quit (class ClientQuit *ev)
 
void MapInstance::on_link_lost (SEGSEvent *ev)
 
void MapInstance::on_disconnect (class DisconnectRequest *ev)
 
void MapInstance::on_name_clash_check_result (WouldNameDuplicateResponse *ev)
 
void MapInstance::on_expect_client (ExpectMapClientRequest *ev)
 
void MapInstance::on_character_created (CreateNewCharacterResponse *ev)
 
void MapInstance::on_entity_response (GetEntityResponse *ev)
 
void MapInstance::on_create_map_entity (class NewEntity *ev)
 
void MapInstance::on_scene_request (class SceneRequest *ev)
 
void MapInstance::on_entities_request (class EntitiesRequest *ev)
 
void MapInstance::on_timeout (TimerEvent *ev)
 Handle instance-wide timers. More...
 
void MapInstance::sendState ()
 
void MapInstance::on_combine_boosts (class CombineRequest *)
 
void MapInstance::on_input_state (InputState *st)
 
void MapInstance::on_cookie_confirm (class CookieRequest *ev)
 
void MapInstance::on_window_state (class WindowState *ev)
 
void MapInstance::process_chat (MapClientSession *sender, QString &msg_text)
 
void MapInstance::on_console_command (class ConsoleCommand *ev)
 
void MapInstance::on_emote_command (const QString &command, Entity *ent)
 
void MapInstance::on_command_chat_divider_moved (class ChatDividerMoved *ev)
 
void MapInstance::on_minimap_state (class MiniMapState *ev)
 
void MapInstance::on_client_resumed (class ClientResumedRendering *ev)
 
void MapInstance::on_location_visited (class LocationVisited *ev)
 
void MapInstance::on_plaque_visited (class PlaqueVisited *ev)
 
void MapInstance::on_inspiration_dockmode (class InspirationDockMode *ev)
 
void MapInstance::on_enter_door (class EnterDoor *ev)
 
void MapInstance::on_change_stance (class ChangeStance *ev)
 
void MapInstance::on_set_destination (class SetDestination *ev)
 
void MapInstance::on_abort_queued_power (class AbortQueuedPower *ev)
 
void MapInstance::on_description_and_battlecry (class DescriptionAndBattleCry *ev)
 
void MapInstance::on_entity_info_request (class EntityInfoRequest *ev)
 
void MapInstance::on_client_options (class SaveClientOptions *ev)
 
void MapInstance::on_switch_viewpoint (class SwitchViewPoint *ev)
 
void MapInstance::on_chat_reconfigured (class ChatReconfigure *ev)
 
void MapInstance::on_set_default_power_send (class SetDefaultPowerSend *ev)
 
void MapInstance::on_set_default_power (class SetDefaultPower *ev)
 
void MapInstance::on_unqueue_all (class UnqueueAll *ev)
 
void MapInstance::on_target_chat_channel_selected (class TargetChatChannelSelected *ev)
 
void MapInstance::on_activate_inspiration (class ActivateInspiration *ev)
 
void MapInstance::on_powers_dockmode (class PowersDockMode *ev)
 
void MapInstance::on_switch_tray (class SwitchTray *ev)
 
void MapInstance::on_set_keybind (class SetKeybind *ev)
 
void MapInstance::on_remove_keybind (class RemoveKeybind *ev)
 
const MapServerDataMapInstance::serverData () const
 
void MapInstance::on_reset_keybinds (class ResetKeybinds *ev)
 
void MapInstance::on_select_keybind_profile (class SelectKeybindProfile *ev)
 
void MapInstance::on_interact_with (class InteractWithEntity *ev)
 
 MapManager::MapManager ()
 
 MapManager::~MapManager ()
 
bool MapManager::load_templates (const QString &template_directory, uint8_t game_id, uint32_t map_id, const struct ListenAndLocationAddresses &loc)
 Loads all templates available in given directory, will populate m_templates attribute. More...
 
MapTemplateMapManager::get_template (QString id)
 Retrieves template specified by it's client-side path. More...
 
size_t MapManager::num_templates ()
 
size_t MapManager::max_instances ()
 
void MapManager::shut_down_all ()
 
 MapServer::MapServer (uint8_t id)
 
 MapServer::~MapServer (void) override
 
bool MapServer::ReadConfigAndRestart ()
 
bool MapServer::ShutDown ()
 
MapManagerMapServer::map_manager ()
 
MapServerDataMapServer::runtimeData ()
 
void MapServer::sett_game_server_owner (uint8_t owner_id)
 
 MapServerData::MapServerData ()
 
 MapServerData::~MapServerData ()
 
bool MapServerData::read_runtime_data (const QString &directory_path)
 
int MapServerData::expForLevel (int lev) const
 
int MapServerData::expDebtForLevel (int lev) const
 
 MapTemplate::MapTemplate (const QString &template_filename, uint8_t game_server_id, uint32_t map_server_id, const ListenAndLocationAddresses &loc)
 
MapInstanceMapTemplate::get_instance ()
 
void MapTemplate::shut_down_all ()
 
QString MapTemplate::client_filename () const
 
QString MapTemplate::base_name () const
 
size_t MapTemplate::num_instances ()
 If there are no instances, starts a new one. More...
 
int NetCommand::serializefrom (BitStream &bs)
 
void NetCommandManager::addCommand (NetCommand *cmd)
 
NetCommandNetCommandManager::getCommandByName (const QString &name)
 
void NetCommandManager::SendCommandShortcuts (MapClientSession *client, BitStream &tgt, const std::vector< NetCommand * > &commands2)
 
void NPCStorage::prepare_dictionaries ()
 
int NPCStorage::npc_idx (const Parse_NPC *npc) const
 
int NPCStorage::npc_idx (const QString &name)
 
const Parse_NPCNPCStorage::npc_by_name (const QStringRef &name) const
 
 SceneGraph::SceneGraph ()
 
bool SceneGraph::loadFromFile (const QString &)
 
 ScriptingEngine::ScriptingEngine ()
 
 ScriptingEngine::~ScriptingEngine ()
 
void ScriptingEngine::registerTypes ()
 
int ScriptingEngine::loadAndRunFile (const QString &path)
 
std::string ScriptingEngine::callFuncWithClientContext (MapClientSession *client, const char *name, int arg1)
 
std::string ScriptingEngine::callFunc (const char *name, int arg1)
 
int ScriptingEngine::runScript (MapClientSession *client, const QString &script_contents, const char *script_name="unnamed script")
 
int ScriptingEngine::runScript (const QString &script_contents, const char *script_name="unnamed script")
 
void World::update (const ACE_Time_Value &tick_timer)
 
void World::physicsStep (Entity *e, uint32_t msec)
 
void World::effectsStep (Entity *e, uint32_t msec)
 
void World::updateEntity (Entity *e, const ACE_Time_Value &dT)
 
void World::addPlayer (Entity *ent)
 

Variables

MapServerg_GlobalMapServer =nullptr
 
static MapEventFactory MapLink::m_factory
 

Detailed Description

Macro Definition Documentation

#define SOL_CHECK_ARGUMENTS

Function Documentation

void NetCommandManager::addCommand ( NetCommand cmd)
void World::addPlayer ( Entity ent)

Here is the call graph for this function:

Here is the caller graph for this function:

float animateValue ( float  v,
float  start,
float  target,
float  length,
float  dT 
)

Here is the caller graph for this function:

QString MapTemplate::base_name ( ) const

Here is the caller graph for this function:

std::string ScriptingEngine::callFunc ( const char *  name,
int  arg1 
)

Here is the caller graph for this function:

std::string ScriptingEngine::callFuncWithClientContext ( MapClientSession client,
const char *  name,
int  arg1 
)

Here is the call graph for this function:

void charUpdateDB ( Entity e)

Here is the call graph for this function:

void charUpdateGUI ( Entity e)

Here is the call graph for this function:

QString MapTemplate::client_filename ( ) const

Here is the call graph for this function:

MapLinkEvent * MapEventFactory::CommandEventFromStream ( BitStream bs)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Entity * EntityManager::CreateNpc ( const Parse_NPC tpl,
int  idx,
int  variant 
)

Here is the call graph for this function:

Entity * EntityManager::CreatePlayer ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::dispatch ( SEGSEvent ev)
overridevirtual

Implements EventProcessor.

Here is the call graph for this function:

void World::effectsStep ( Entity e,
uint32_t  msec 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::enqueue_client ( MapClientSession clnt)

Here is the call graph for this function:

EntityManager::EntityManager ( )
EntityStore::EntityStore ( )
MapLinkEvent * MapEventFactory::EventFromStream ( BitStream bs)
overridevirtual

Reimplemented from CRUD_EventFactory.

Here is the call graph for this function:

int MapServerData::expDebtForLevel ( int  lev) const
int MapServerData::expForLevel ( int  lev) const
Entity * EntityStore::get ( )

Here is the caller graph for this function:

MapInstance * MapTemplate::get_instance ( )
MapTemplate * MapManager::get_template ( QString  id)

Retrieves template specified by it's client-side path.

uint32_t getAccessLevel ( const Entity e)
const QString& getAlignment ( const Character c)
uint32_t getAssistTargetIdx ( const Entity e)

Here is the caller graph for this function:

float getBackupSpd ( const Entity e)
const QString& getBattleCry ( const Character c)

Here is the caller graph for this function:

const QString& getClass ( const Character c)

Here is the caller graph for this function:

uint32_t getCombatLevel ( const Character c)

Here is the caller graph for this function:

NetCommand * NetCommandManager::getCommandByName ( const QString &  name)
uint32_t getDbId ( const Entity e)
uint32_t getDebt ( const Character c)

Here is the caller graph for this function:

const QString& getDescription ( const Character c)

Here is the caller graph for this function:

float getEnd ( const Character c)
Entity* getEntity ( MapClientSession src,
const QString &  name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Entity* getEntity ( MapClientSession src,
uint32_t  idx 
)

Here is the call graph for this function:

Entity* getEntityByDBID ( MapClientSession src,
uint32_t  db_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int getEntityClassIndex ( bool  is_player,
const QString &  class_name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int getEntityOriginIndex ( bool  is_player,
const QString &  origin_name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

const QString& getGenericTitle ( const Character c)
float getHP ( const Character c)
uint32_t getIdx ( const Entity e)

Here is the caller graph for this function:

uint32_t getInf ( const Character c)

Here is the caller graph for this function:

float getJumpHeight ( const Entity e)
uint64_t getLastCostumeId ( const Character c)
uint32_t getLevel ( const Character c)

Here is the caller graph for this function:

const QString& getMapName ( const Character c)

Here is the caller graph for this function:

const QString& getOrigin ( const Character c)

Here is the caller graph for this function:

const QString& getOriginTitle ( const Character c)
uint32_t getPatrolXP ( const Character c)
const QString& getSpecialTitle ( const Character c)
glm::vec3 getSpeed ( const Entity e)
uint32_t getTargetIdx ( const Entity e)

Here is the caller graph for this function:

uint8_t getUpdateId ( const Entity e)
uint32_t getXP ( const Character c)

Here is the caller graph for this function:

void EntityManager::InsertPlayer ( Entity ent)

Here is the caller graph for this function:

bool MapManager::load_templates ( const QString &  template_directory,
uint8_t  game_id,
uint32_t  map_id,
const struct ListenAndLocationAddresses loc 
)

Loads all templates available in given directory, will populate m_templates attribute.

int ScriptingEngine::loadAndRunFile ( const QString &  path)
bool SceneGraph::loadFromFile ( const QString &  )
int luaopen_io ( lua_State *  )
int luaopen_os ( lua_State *  )
int luaopen_package ( lua_State *  )
MapManager & MapServer::map_manager ( )
MapInstance::MapInstance ( const QString &  name,
const ListenAndLocationAddresses listen_addr 
)

this value is sent to the clients

Here is the call graph for this function:

MapManager::MapManager ( )
MapServer::MapServer ( uint8_t  id)

Here is the call graph for this function:

MapServerData::MapServerData ( )
MapTemplate::MapTemplate ( const QString &  template_filename,
uint8_t  game_server_id,
uint32_t  map_server_id,
const ListenAndLocationAddresses loc 
)
void markFlying ( Entity e,
bool  is_flying 
)

Here is the caller graph for this function:

size_t MapManager::max_instances ( )
void messageOutput ( MessageChannel  ch,
QString &  msg,
Entity tgt 
)

Here is the call graph for this function:

Here is the caller graph for this function:

const Parse_NPC * NPCStorage::npc_by_name ( const QStringRef &  name) const
int NPCStorage::npc_idx ( const Parse_NPC npc) const

Here is the caller graph for this function:

int NPCStorage::npc_idx ( const QString &  name)

Here is the call graph for this function:

size_t MapTemplate::num_instances ( )

If there are no instances, starts a new one.

size_t MapManager::num_templates ( )
void MapInstance::on_abort_queued_power ( class AbortQueuedPower ev)
protected

Here is the caller graph for this function:

void MapInstance::on_activate_inspiration ( class ActivateInspiration ev)
protected

Here is the caller graph for this function:

void MapInstance::on_change_stance ( class ChangeStance ev)
protected
void MapInstance::on_character_created ( CreateNewCharacterResponse *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_chat_reconfigured ( class ChatReconfigure ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_client_connected_to_other_server ( ClientConnectedMessage *  ev)
protected
void MapInstance::on_client_disconnected_from_other_server ( ClientDisconnectedMessage *  ev)
protected

Here is the call graph for this function:

void MapInstance::on_client_options ( class SaveClientOptions ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_client_quit ( class ClientQuit ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_client_resumed ( class ClientResumedRendering ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_combine_boosts ( class CombineRequest )
protected
void MapInstance::on_command_chat_divider_moved ( class ChatDividerMoved ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_connection_request ( class ConnectRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_console_command ( class ConsoleCommand ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_cookie_confirm ( class CookieRequest ev)
protected

Here is the caller graph for this function:

void MapInstance::on_create_map_entity ( class NewEntity ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_description_and_battlecry ( class DescriptionAndBattleCry ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_disconnect ( class DisconnectRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_emote_command ( const QString &  command,
Entity ent 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_enter_door ( class EnterDoor ev)
protected

Here is the caller graph for this function:

void MapInstance::on_entities_request ( class EntitiesRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_entity_info_request ( class EntityInfoRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_entity_response ( GetEntityResponse *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_expect_client ( ExpectMapClientRequest *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_idle ( IdleEvent ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_input_state ( InputState st)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_inspiration_dockmode ( class InspirationDockMode ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_interact_with ( class InteractWithEntity ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_link_lost ( SEGSEvent ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_location_visited ( class LocationVisited ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_minimap_state ( class MiniMapState ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_name_clash_check_result ( WouldNameDuplicateResponse *  ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_plaque_visited ( class PlaqueVisited ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_powers_dockmode ( class PowersDockMode ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_remove_keybind ( class RemoveKeybind ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_reset_keybinds ( class ResetKeybinds ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_scene_request ( class SceneRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_select_keybind_profile ( class SelectKeybindProfile ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_set_default_power ( class SetDefaultPower ev)
protected

Here is the caller graph for this function:

void MapInstance::on_set_default_power_send ( class SetDefaultPowerSend ev)
protected

Here is the caller graph for this function:

void MapInstance::on_set_destination ( class SetDestination ev)
protected

Here is the caller graph for this function:

void MapInstance::on_set_keybind ( class SetKeybind ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_shortcuts_request ( class ShortcutsRequest ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_switch_tray ( class SwitchTray ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_switch_viewpoint ( class SwitchViewPoint ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_target_chat_channel_selected ( class TargetChatChannelSelected ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_timeout ( TimerEvent ev)
protected

Handle instance-wide timers.

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_unqueue_all ( class UnqueueAll ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::on_window_state ( class WindowState ev)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void World::physicsStep ( Entity e,
uint32_t  msec 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void NPCStorage::prepare_dictionaries ( )

Here is the caller graph for this function:

void MapInstance::process_chat ( MapClientSession sender,
QString &  msg_text 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

QString process_replacement_strings ( MapClientSession sender,
const QString &  msg_text 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool MapServerData::read_runtime_data ( const QString &  directory_path)

Here is the call graph for this function:

bool MapServer::ReadConfigAndRestart ( )
Parameters
inipathDoc at RoamingServer::ReadConfig
Returns
bool (false means an error occurred )

Here is the call graph for this function:

void readEmailMessage ( Entity e,
const int  id 
)

Here is the call graph for this function:

void MapInstance::reap_stale_links ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ScriptingEngine::registerTypes ( )

Here is the call graph for this function:

void EntityStore::release ( Entity src)

Here is the caller graph for this function:

void EntityManager::removeEntityFromActiveList ( Entity ent)

Here is the call graph for this function:

Here is the caller graph for this function:

void runCommand ( QString &  str,
MapClientSession e 
)

Here is the caller graph for this function:

int ScriptingEngine::runScript ( const QString &  script_contents,
const char *  script_name = "unnamed script" 
)
int ScriptingEngine::runScript ( MapClientSession client,
const QString &  script_contents,
const char *  script_name = "unnamed script" 
)

Here is the call graph for this function:

MapServerData & MapServer::runtimeData ( )

Here is the caller graph for this function:

SceneGraph::SceneGraph ( )
ScriptingEngine::ScriptingEngine ( )
void sendBuffs ( const Entity src,
BitStream bs 
)

Here is the call graph for this function:

void NetCommandManager::SendCommandShortcuts ( MapClientSession client,
BitStream tgt,
const std::vector< NetCommand * > &  commands2 
)

Here is the call graph for this function:

void EntityManager::sendDebuggedEntities ( BitStream tgt) const

Here is the call graph for this function:

Here is the caller graph for this function:

void EntityManager::sendDeletes ( BitStream tgt,
MapClientSession client 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

void sendEmailHeaders ( Entity e)

Here is the call graph for this function:

void EntityManager::sendEntities ( BitStream bs,
MapClientSession target,
bool  is_incremental 
) const
self_idx index of the entity that is receiving the packet, this is used to prevent marking every entity as a current player

Here is the call graph for this function:

Here is the caller graph for this function:

void sendFloatingNumbers ( Entity src,
uint32_t  tgt_idx,
int32_t  amount 
)

Here is the call graph for this function:

void sendFriendsListUpdate ( Entity src,
FriendsList friends_list 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void EntityManager::sendGlobalEntDebugInfo ( BitStream tgt) const

Here is the call graph for this function:

Here is the caller graph for this function:

void sendServerMOTD ( MapClientSession tgt)

Here is the call graph for this function:

Here is the caller graph for this function:

void sendSidekickOffer ( Entity tgt,
uint32_t  src_db_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MapInstance::sendState ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void sendTeamLooking ( Entity tgt)

Here is the call graph for this function:

Here is the caller graph for this function:

void sendTeamOffer ( Entity src,
Entity tgt 
)

Here is the call graph for this function:

int NetCommand::serializefrom ( BitStream bs)

Here is the call graph for this function:

void serializeto ( const Entity src,
ClientEntityStateBelief belief,
BitStream bs 
)

Here is the call graph for this function:

const MapServerData & MapInstance::serverData ( ) const

Here is the call graph for this function:

void setAssistTarget ( Entity e)

Here is the call graph for this function:

void setBackupSpd ( Entity e,
float  val 
)
void setBattleCry ( Character c,
QString  val 
)

Here is the caller graph for this function:

void setCombatLevel ( Character c,
uint32_t  val 
)

Here is the caller graph for this function:

void setDbId ( Entity e,
uint8_t  val 
)
void setDebt ( Character c,
uint32_t  val 
)
void setDescription ( Character c,
QString  val 
)

Here is the caller graph for this function:

void setEnd ( Character c,
float  val 
)
void setHP ( Character c,
float  val 
)
void setInf ( Character c,
uint32_t  val 
)
void setJumpHeight ( Entity e,
float  val 
)
void setLastCostumeId ( Character c,
uint64_t  val 
)
void setLevel ( Character c,
uint32_t  val 
)

Here is the caller graph for this function:

void setMapIdx ( Entity e,
uint32_t  val 
)

Here is the caller graph for this function:

void setMapName ( Character c,
const QString &  val 
)

Here is the caller graph for this function:

void setSpeed ( Entity e,
float  v1,
float  v2,
float  v3 
)
void setSuperGroup ( Entity e,
int  sg_id,
QString  sg_name,
uint32_t  sg_rank 
)
void MapServer::sett_game_server_owner ( uint8_t  owner_id)
void setTeamID ( Entity e,
uint8_t  team_id 
)
void setTitles ( Character c,
bool  prefix,
QString  generic,
QString  origin,
QString  special 
)
void setu3 ( Entity e,
int  val 
)
void setUpdateID ( Entity e,
uint8_t  val 
)
void setXP ( Character c,
uint32_t  val 
)

Here is the call graph for this function:

void MapTemplate::shut_down_all ( )
void MapManager::shut_down_all ( )
bool MapServer::ShutDown ( )
void MapInstance::spin_down ( )

This function should stop the world simulation, and save all entities to db It is meant to be ran when MapInstance is getting scrubbed for reuse.

bool MapInstance::spin_up_for ( uint8_t  game_server_id,
uint32_t  owner_id,
uint32_t  instance_id 
)

This function should prepare the map for use by the specified game server.

Parameters
game_server_id

Here is the call graph for this function:

void MapInstance::start ( )

Here is the call graph for this function:

void toggleAFK ( Character c,
const QString &  msg 
)
void toggleControlId ( Entity e)
void toggleControlsDisabled ( Entity e)
void toggleFalling ( Entity e)
void toggleFly ( Entity e)
void toggleFullUpdate ( Entity e)
void toggleJumping ( Entity e)
void toggleJumppack ( Entity e)
void toggleLFG ( Entity e)

Here is the call graph for this function:

void toggleSliding ( Entity e)
void toggleStunned ( Entity e)
void toggleTeamBuffs ( PlayerData c)
void World::update ( const ACE_Time_Value &  tick_timer)

Here is the call graph for this function:

Here is the caller graph for this function:

void World::updateEntity ( Entity e,
const ACE_Time_Value &  dT 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

MapInstance::~MapInstance ( )
override
MapManager::~MapManager ( )
MapServer::~MapServer ( void  )
override
MapServerData::~MapServerData ( )
ScriptingEngine::~ScriptingEngine ( )

Variable Documentation

MapServer* g_GlobalMapServer =nullptr
MapEventFactory MapLink::m_factory
staticprotected