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

Classes

class  MapLinkEndpoint
 
struct  NpcCreator
 
struct  SpawnPointLocator
 
struct  EnemySpawnPointLocator
 
struct  MapXferLocator
 
struct  CritterSpawnLocator
 
class  MapServer::PrivateData
 The MapServer::PrivateData class - PIMPL idiom for internal MapServer data. More...
 
struct  ScriptingEngine::ScriptingEnginePrivate
 

Macros

#define SOL_CHECK_ARGUMENTS   1
 

Functions

void toggleLFG (Entity &e)
 
EntitygetEntity (MapClientSession *src, const QString &name)
 
EntitygetEntity (MapClientSession *src, uint32_t idx)
 
EntitygetEntity (MapInstance *mi, uint32_t idx)
 
EntitygetEntityByDBID (MapInstance *mi, uint32_t db_id)
 Finds the Entity in the MapInstance. More...
 
void sendMissionObjectiveTimer (MapClientSession &sess, QString &message, float time)
 
void sendServerMOTD (MapClientSession *tgt)
 
void positionTest (MapClientSession *tgt)
 
bool isFriendOnline (Entity &src, uint32_t db_id)
 
void setInterpolationSettings (MapClientSession *sess, const bool active, const uint8_t level, const uint8_t bits)
 
QString createMapMenu ()
 
QString createKioskMessage (Entity *player)
 
void getEmailHeaders (MapClientSession &sess)
 
void sendEmail (MapClientSession &sess, QString recipient_name, QString subject, QString message)
 
void readEmailMessage (MapClientSession &sess, const uint32_t email_id)
 
void deleteEmailHeaders (MapClientSession &sess, const uint32_t email_id)
 
void sendTimeStateLog (MapClientSession &sess, uint32_t control_log)
 
void sendTimeUpdate (MapClientSession &sess, int32_t sec_since_jan_1_2000)
 
void sendClientState (MapClientSession &sess, ClientStates client_state)
 
void showMapXferList (MapClientSession &sess, bool has_location, glm::vec3 &location, QString &name)
 
void sendFloatingInfo (MapClientSession &sess, QString &msg, FloatingInfoStyle style, float delay)
 
void sendFloatingNumbers (MapClientSession &sess, uint32_t tgt_idx, int32_t amount)
 
void sendLevelUp (MapClientSession &sess)
 
void sendEnhanceCombineResponse (MapClientSession &sess, bool success, bool destroy)
 
void sendChangeTitle (MapClientSession &sess, bool select_origin)
 
void sendTrayAdd (MapClientSession &sess, uint32_t pset_idx, uint32_t pow_idx)
 
void sendFriendsListUpdate (MapClientSession &sess, const FriendsList &friends_list)
 
void sendSidekickOffer (MapClientSession &sess, uint32_t src_db_id)
 
void sendTeamLooking (MapClientSession &sess)
 
void sendTeamOffer (MapClientSession &src, MapClientSession &tgt)
 
void sendFaceEntity (MapClientSession &sess, int32_t tgt_idx)
 
void sendFaceLocation (MapClientSession &sess, glm::vec3 &loc)
 
void sendDoorMessage (MapClientSession &sess, uint32_t delay_status, QString &msg)
 
void sendBrowser (MapClientSession &sess, QString &content)
 
void sendTailorOpen (MapClientSession &sess)
 
void sendTradeOffer (MapClientSession &tgt, const QString &name)
 
void sendTradeInit (MapClientSession &src, MapClientSession &tgt)
 
void sendTradeCancel (MapClientSession &sess, const QString &msg)
 
void sendTradeUpdate (MapClientSession &src, MapClientSession &tgt, const TradeMember &trade_src, const TradeMember &trade_tgt)
 
void sendTradeSuccess (MapClientSession &src, MapClientSession &tgt)
 
void sendContactDialog (MapClientSession &sess, QString msg_body, std::vector< ContactEntry > active_contacts)
 
void sendContactDialogYesNoOk (MapClientSession &sess, QString msg_body, bool has_yesno)
 
void sendContactDialogClose (MapClientSession &sess)
 
void updateContactStatusList (MapClientSession &sess, const Contact &updated_contact_data)
 
void sendContactStatusList (MapClientSession &sess)
 
void sendWaypoint (MapClientSession &sess, int point_idx, glm::vec3 &location)
 
void sendStance (MapClientSession &sess, PowerStance &stance)
 
void sendClueList (MapClientSession &sess)
 
void sendSouvenirList (MapClientSession &sess)
 
void sendDeadNoGurney (MapClientSession &sess)
 
void sendDoorAnimStart (MapClientSession &sess, glm::vec3 &entry_pos, glm::vec3 &target_pos, bool has_anims, QString &seq_state)
 
void sendDoorAnimExit (MapClientSession &sess, bool force_move)
 
void usePower (Entity &ent, uint32_t pset_idx, uint32_t pow_idx, int32_t tgt_idx, int32_t tgt_id)
 
void increaseLevel (Entity &ent)
 
void addNpc (MapClientSession &sess, QString &npc_name, glm::vec3 &loc, int variation, QString &name)
 
void addNpcWithOrientation (MapClientSession &sess, QString &name, glm::vec3 &loc, int variation, glm::vec3 &ori, QString &npc_name)
 
void addNpcWithOrientation (MapInstance &mi, QString &name, glm::vec3 &loc, int variation, glm::vec3 &ori, QString &npc_name)
 
void giveEnhancement (MapClientSession &sess, QString &name, int e_level)
 
void giveDebt (MapClientSession &sess, int debt)
 
void giveEnd (MapClientSession &sess, float end)
 
void giveHp (MapClientSession &sess, float hp)
 
void giveInsp (MapClientSession &sess, QString &name)
 
void giveXp (MapClientSession &sess, int xp)
 
void giveTempPower (MapClientSession *cl, const char *power)
 
void addListOfTasks (MapClientSession *cl, vTaskList task_list)
 
void sendUpdateTaskStatusList (MapClientSession &src, Task task)
 
void selectTask (MapClientSession &src, Task task)
 
void sendTaskStatusList (MapClientSession &src)
 
void updateTaskDetail (MapClientSession &src, Task task)
 
void removeTask (MapClientSession &src, Task task)
 
void playerTrain (MapClientSession &sess)
 
void sendKiosk (MapClientSession &cl)
 
void setTitle (MapClientSession &sess, QString &title)
 
void showMapMenu (MapClientSession &sess)
 
void addClue (MapClientSession &cl, Clue clue)
 
void removeClue (MapClientSession &cl, Clue clue)
 
void addSouvenir (MapClientSession &cl, Souvenir souvenir)
 
void removeSouvenir (MapClientSession &cl, Souvenir souvenir)
 
void removeContact (MapClientSession &sess, Contact contact)
 
void revive (MapClientSession *cl, int revive_lvl)
 
void logSpawnLocations (MapClientSession &cl, const char *spawn_type)
 
void respawn (MapClientSession &cl, const char *spawn_type)
 
void openStore (MapClientSession &sess, int entity_idx)
 
void modifyInf (MapClientSession &sess, int amount)
 
void sendForceLogout (MapClientSession &cl, QString &player_name, QString &logout_message)
 
void sendLocation (MapClientSession &cl, VisitLocation location)
 
void sendDeveloperConsoleOutput (MapClientSession &cl, QString &message)
 
void sendClientConsoleOutput (MapClientSession &cl, QString &message)
 
void npcSendMessage (MapClientSession &cl, QString &channel, int entityIdx, QString &message)
 
void npcSendMessage (MapInstance &mi, QString &channel, int entityIdx, QString &message)
 
void addRelayRaceResult (MapClientSession &cl, RelayRaceResult &raceResult)
 
void addHideAndSeekResult (MapClientSession &cl, int points)
 
RelayRaceResult getRelayRaceResult (MapClientSession &cl, int segment)
 
void addEnemy (MapInstance &mi, QString &name, glm::vec3 &loc, int variation, glm::vec3 &ori, QString &npc_name, int level, QString &faction_name, int f_rank)
 
void addVictim (MapInstance &mi, QString &name, glm::vec3 &loc, int variation, glm::vec3 &ori, QString &npc_name)
 
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)
 
void walkSceneNode (SceneNode *self, const glm::mat4 &accumulated, std::function< bool(SceneNode *, const glm::mat4 &)> visit_func)
 
QString getCostumeFromName (const QString &n)
 
int luaopen_package (lua_State *)
 
int luaopen_io (lua_State *)
 
int luaopen_os (lua_State *)
 
void updateClientContext (MapClientSession *client)
 
void runCommand (const QString &str, MapClientSession &e)
 
float animateValue (float v, float start, float target, float length, float dT)
 
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
 
 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
 send the Entity removals to bring the world-state beliefs between server and client into sync More...
 
void EntityManager::sendEntities (BitStream &tgt, MapClientSession &target, bool is_incremental) const
 
void EntityManager::InsertPlayer (Entity *)
 
EntityEntityManager::CreatePlayer ()
 
EntityEntityManager::CreateNpc (const GameDataStore &data, const Parse_NPC &tpl, int idx, int variant)
 
EntityEntityManager::CreateCritter (const GameDataStore &data, const Parse_NPC &tpl, int idx, int variant, int level)
 
EntityEntityManager::CreateGeneric (const GameDataStore &data, const Parse_NPC &tpl, int idx, int variant, EntType type)
 
void EntityManager::removeEntityFromActiveList (Entity *ent)
 
void MapClientSession::addCommandToSendNextUpdate (std::unique_ptr< SEGSEvents::GameCommandEvent > &&v)
 
void MapClientSession::AddShortcut (int index, NetCommand *command)
 
SEGSEvents::MapLinkEventMapEventFactory::EventFromStream (BitStream &bs) override
 
static SEGSEvents::MapLinkEventMapEventFactory::CommandEventFromStream (BitStream &bs)
 
 MapInstance::MapInstance (const QString &name, const ListenAndLocationAddresses &listen_addr)
 
void MapInstance::start (const QString &scenegraph_path)
 
void MapInstance::load_map_lua ()
 
QHash< QString, MapXferDataMapInstance::get_map_door_transfers ()
 
QHash< QString, MapXferDataMapInstance::get_map_zone_transfers ()
 
QString MapInstance::getNearestDoor (glm::vec3 location)
 
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 (SEGSEvents::ClientConnectedMessage *ev)
 
void MapInstance::on_client_disconnected_from_other_server (SEGSEvents::ClientDisconnectedMessage *ev)
 
void MapInstance::reap_stale_links ()
 
void MapInstance::enqueue_client (MapClientSession *clnt)
 
void MapInstance::dispatch (SEGSEvents::Event *ev) override
 
void MapInstance::on_initiate_map_transfer (SEGSEvents::InitiateMapXfer *ev)
 
void MapInstance::on_map_xfer_complete (SEGSEvents::MapXferComplete *ev)
 
void MapInstance::on_idle (SEGSEvents::Idle *ev)
 
void MapInstance::on_check_links ()
 
void MapInstance::on_connection_request (SEGSEvents::ConnectRequest *ev)
 
void MapInstance::on_shortcuts_request (SEGSEvents::ShortcutsRequest *ev)
 
void MapInstance::on_client_quit (SEGSEvents::ClientQuit *ev)
 
void MapInstance::on_link_lost (SEGSEvents::Event *ev)
 
void MapInstance::on_disconnect (SEGSEvents::DisconnectRequest *ev)
 
void MapInstance::on_name_clash_check_result (SEGSEvents::WouldNameDuplicateResponse *ev)
 
void MapInstance::on_expect_client_response (SEGSEvents::ExpectMapClientResponse *ev)
 
void MapInstance::on_expect_client (SEGSEvents::ExpectMapClientRequest *ev)
 
void MapInstance::on_character_created (SEGSEvents::CreateNewCharacterResponse *ev)
 
void MapInstance::on_entity_response (SEGSEvents::GetEntityResponse *ev)
 
void MapInstance::on_entity_by_name_response (SEGSEvents::GetEntityByNameResponse *ev)
 
void MapInstance::on_create_map_entity (SEGSEvents::NewEntity *ev)
 
void MapInstance::on_scene_request (SEGSEvents::SceneRequest *ev)
 
void MapInstance::on_entities_request (SEGSEvents::EntitiesRequest *ev)
 
void MapInstance::on_timeout (SEGSEvents::Timeout *ev)
 Handle instance-wide timers. More...
 
void MapInstance::sendState ()
 
void MapInstance::on_combine_enhancements (SEGSEvents::CombineEnhancementsReq *ev)
 
void MapInstance::on_input_state (SEGSEvents::RecvInputState *st)
 
void MapInstance::on_cookie_confirm (SEGSEvents::CookieRequest *ev)
 
void MapInstance::on_window_state (SEGSEvents::WindowState *ev)
 
void MapInstance::process_chat (Entity *sender, QString &msg_text)
 
void MapInstance::on_console_command (SEGSEvents::ConsoleCommand *ev)
 
void MapInstance::on_emote_command (const QString &command, Entity *ent)
 
void MapInstance::on_command_chat_divider_moved (SEGSEvents::ChatDividerMoved *ev)
 
void MapInstance::on_minimap_state (SEGSEvents::MiniMapState *ev)
 
void MapInstance::on_client_resumed (SEGSEvents::ClientResumedRendering *ev)
 
void MapInstance::on_location_visited (SEGSEvents::LocationVisited *ev)
 
void MapInstance::on_plaque_visited (SEGSEvents::PlaqueVisited *ev)
 
void MapInstance::on_inspiration_dockmode (SEGSEvents::InspirationDockMode *ev)
 
void MapInstance::on_enter_door (SEGSEvents::EnterDoor *ev)
 
void MapInstance::on_change_stance (SEGSEvents::ChangeStance *ev)
 
void MapInstance::on_set_destination (SEGSEvents::SetDestination *ev)
 
void MapInstance::on_has_entered_door (SEGSEvents::HasEnteredDoor *ev)
 
void MapInstance::on_abort_queued_power (SEGSEvents::AbortQueuedPower *ev)
 
void MapInstance::on_description_and_battlecry (SEGSEvents::DescriptionAndBattleCry *ev)
 
void MapInstance::on_entity_info_request (SEGSEvents::EntityInfoRequest *ev)
 
void MapInstance::on_client_options (SEGSEvents::SaveClientOptions *ev)
 
void MapInstance::on_switch_viewpoint (SEGSEvents::SwitchViewPoint *ev)
 
void MapInstance::on_chat_reconfigured (SEGSEvents::ChatReconfigure *ev)
 
void MapInstance::on_set_default_power (SEGSEvents::SetDefaultPower *ev)
 
void MapInstance::on_unset_default_power (SEGSEvents::UnsetDefaultPower *ev)
 
void MapInstance::on_unqueue_all (SEGSEvents::UnqueueAll *ev)
 
void MapInstance::on_target_chat_channel_selected (SEGSEvents::TargetChatChannelSelected *ev)
 
void MapInstance::on_activate_power (SEGSEvents::ActivatePower *ev)
 
void MapInstance::on_activate_power_at_location (SEGSEvents::ActivatePowerAtLocation *ev)
 
void MapInstance::on_activate_inspiration (SEGSEvents::ActivateInspiration *ev)
 
void MapInstance::on_powers_dockmode (SEGSEvents::PowersDockMode *ev)
 
void MapInstance::on_switch_tray (SEGSEvents::SwitchTray *ev)
 
void MapInstance::on_set_keybind (SEGSEvents::SetKeybind *ev)
 
void MapInstance::on_remove_keybind (SEGSEvents::RemoveKeybind *ev)
 
void MapInstance::setPlayerSpawn (Entity &e)
 
void MapInstance::setSpawnLocation (Entity &e, const QString &spawnLocation)
 
glm::vec3 MapInstance::closest_safe_location (glm::vec3 v) const
 
void MapInstance::serialize_from (std::istream &is) override
 
void MapInstance::serialize_to (std::ostream &is) override
 
void MapInstance::on_reset_keybinds (SEGSEvents::ResetKeybinds *ev)
 
void MapInstance::on_select_keybind_profile (SEGSEvents::SelectKeybindProfile *ev)
 
void MapInstance::on_interact_with (SEGSEvents::InteractWithEntity *ev)
 
void MapInstance::on_receive_contact_status (SEGSEvents::ReceiveContactStatus *ev)
 
void MapInstance::on_receive_task_detail_request (SEGSEvents::ReceiveTaskDetailRequest *ev)
 
void MapInstance::on_move_inspiration (SEGSEvents::MoveInspiration *ev)
 
void MapInstance::on_recv_selected_titles (SEGSEvents::RecvSelectedTitles *ev)
 
void MapInstance::on_dialog_button (SEGSEvents::DialogButton *ev)
 
void MapInstance::on_move_enhancement (SEGSEvents::MoveEnhancement *ev)
 
void MapInstance::on_set_enhancement (SEGSEvents::SetEnhancement *ev)
 
void MapInstance::on_trash_enhancement (SEGSEvents::TrashEnhancement *ev)
 
void MapInstance::on_trash_enhancement_in_power (SEGSEvents::TrashEnhancementInPower *ev)
 
void MapInstance::on_buy_enhancement_slot (SEGSEvents::BuyEnhancementSlot *ev)
 
void MapInstance::on_recv_new_power (SEGSEvents::RecvNewPower *ev)
 
void MapInstance::on_awaiting_dead_no_gurney (SEGSEvents::AwaitingDeadNoGurney *ev)
 
void MapInstance::on_dead_no_gurney_ok (SEGSEvents::DeadNoGurneyOK *ev)
 
void MapInstance::on_browser_close (SEGSEvents::BrowserClose *ev)
 
void MapInstance::on_recv_costume_change (SEGSEvents::RecvCostumeChange *ev)
 
void MapInstance::on_levelup_response (SEGSEvents::LevelUpResponse *ev)
 
void MapInstance::on_afk_update ()
 
void MapInstance::on_lua_update ()
 
void MapInstance::on_update_entities ()
 
void MapInstance::send_character_update (Entity *e)
 
void MapInstance::send_player_update (Entity *e)
 
void MapInstance::on_email_header_response (SEGSEvents::EmailHeaderResponse *ev)
 
void MapInstance::on_email_header_to_client (SEGSEvents::EmailHeaderToClientMessage *ev)
 
void MapInstance::on_email_headers_to_client (SEGSEvents::EmailHeadersToClientMessage *ev)
 
void MapInstance::on_email_read_response (SEGSEvents::EmailReadResponse *ev)
 
void MapInstance::on_email_read_by_recipient (SEGSEvents::EmailWasReadByRecipientMessage *ev)
 
void MapInstance::on_email_create_status (SEGSEvents::EmailCreateStatusMessage *ev)
 
void MapInstance::on_trade_cancelled (SEGSEvents::TradeWasCancelledMessage *ev)
 
void MapInstance::on_trade_updated (SEGSEvents::TradeWasUpdatedMessage *ev)
 
void MapInstance::on_souvenir_detail_request (SEGSEvents::SouvenirDetailRequest *ev)
 
void MapInstance::on_store_sell_item (SEGSEvents::StoreSellItem *ev)
 
void MapInstance::on_store_buy_item (SEGSEvents::StoreBuyItem *ev)
 
void MapInstance::on_map_swap_collision (SEGSEvents::MapSwapCollisionMessage *ev)
 
void MapInstance::add_chat_message (Entity *sender, QString &msg_text)
 
void MapInstance::startTimer (uint32_t entity_idx)
 
void MapInstance::stopTimer (uint32_t entity_idx)
 
void MapInstance::clearTimer (uint32_t entity_idx)
 
 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 ()
 
 MapSceneGraph::MapSceneGraph ()
 
 MapSceneGraph::~MapSceneGraph ()
 
bool MapSceneGraph::loadFromFile (const QString &mapname)
 
void MapSceneGraph::spawn_npcs (class MapInstance *instance)
 
QMultiHash< QString, glm::mat4 > MapSceneGraph::getSpawnPoints () const
 
QHash< QString, MapXferDataMapSceneGraph::get_map_transfers () const
 
void MapSceneGraph::spawn_critters (class MapInstance *instance)
 
 MapServer::MapServer (uint8_t id)
 
 MapServer::~MapServer () override
 
bool MapServer::ReadConfigAndRestart ()
 
void MapServer::per_thread_shutdown () override
 
MapManagerMapServer::map_manager ()
 
void MapServer::set_game_server_owner (uint8_t owner_id)
 
bool MapServer::session_has_xfer_in_progress (uint64_t session_token)
 
MapXferDataMapServer::session_map_xfer_idx (uint64_t session_token)
 
void MapServer::session_xfer_complete (uint64_t session_token)
 
 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::UpdateCommandShortcuts (MapClientSession *client, std::vector< QString > &commands)
 
 ScriptingEngine::ScriptingEngine ()
 
 ScriptingEngine::~ScriptingEngine ()
 
void ScriptingEngine::registerTypes ()
 
int ScriptingEngine::loadAndRunFile (const QString &path)
 
void ScriptingEngine::callFuncWithMapInstance (MapInstance *mi, const char *name, int arg1)
 
std::string ScriptingEngine::callFuncWithClientContext (MapClientSession *client, const char *name, int arg1)
 
std::string ScriptingEngine::callFuncWithClientContext (MapClientSession *client, const char *name, int arg1, glm::vec3 loc)
 
std::string ScriptingEngine::callFuncWithClientContext (MapClientSession *client, const char *name, const char *arg1, glm::vec3 loc)
 
std::string ScriptingEngine::callFunc (const char *name, int arg1)
 
std::string ScriptingEngine::callFunc (const char *name, int arg1, glm::vec3 loc)
 
std::string ScriptingEngine::callFunc (const char *name, const char *arg1, glm::vec3 loc)
 
std::string ScriptingEngine::callFunc (const char *name, std::vector< Contact > contact_list)
 
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")
 
bool ScriptingEngine::setIncludeDir (const QString &path)
 
void ScriptingEngine::updateMapInstance (MapInstance *instance)
 
void ScriptingEngine::updateClientContext (MapClientSession *client)
 
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::checkPowerTimers (Entity *e, uint32_t msec)
 
bool World::isPlayerDead (Entity *e)
 
void World::regenHealthEnd (Entity *e, uint32_t msec)
 
void World::collisionStep (Entity *e, uint32_t msec)
 
void World::updateEntity (Entity *e, const ACE_Time_Value &dT)
 

Variables

MapServerg_GlobalMapServer =nullptr
 
static MapEventFactory MapLink::m_factory
 

Detailed Description

Macro Definition Documentation

◆ SOL_CHECK_ARGUMENTS

#define SOL_CHECK_ARGUMENTS   1

Function Documentation

◆ add_chat_message()

void MapInstance::add_chat_message ( Entity sender,
QString &  msg_text 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addClue()

void addClue ( MapClientSession cl,
Clue  clue 
)
Here is the call graph for this function:

◆ addCommand()

void NetCommandManager::addCommand ( NetCommand cmd)

◆ addCommandToSendNextUpdate()

void MapClientSession::addCommandToSendNextUpdate ( std::unique_ptr< SEGSEvents::GameCommandEvent > &&  v)
Here is the caller graph for this function:

◆ addEnemy()

void addEnemy ( MapInstance mi,
QString &  name,
glm::vec3 &  loc,
int  variation,
glm::vec3 &  ori,
QString &  npc_name,
int  level,
QString &  faction_name,
int  f_rank 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addHideAndSeekResult()

void addHideAndSeekResult ( MapClientSession cl,
int  points 
)
Here is the call graph for this function:

◆ addListOfTasks()

void addListOfTasks ( MapClientSession cl,
vTaskList  task_list 
)
Here is the call graph for this function:

◆ addNpc()

void addNpc ( MapClientSession sess,
QString &  npc_name,
glm::vec3 &  loc,
int  variation,
QString &  name 
)
Here is the call graph for this function:

◆ addNpcWithOrientation() [1/2]

void addNpcWithOrientation ( MapClientSession sess,
QString &  name,
glm::vec3 &  loc,
int  variation,
glm::vec3 &  ori,
QString &  npc_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addNpcWithOrientation() [2/2]

void addNpcWithOrientation ( MapInstance mi,
QString &  name,
glm::vec3 &  loc,
int  variation,
glm::vec3 &  ori,
QString &  npc_name 
)
Here is the call graph for this function:

◆ addRelayRaceResult()

void addRelayRaceResult ( MapClientSession cl,
RelayRaceResult raceResult 
)
Here is the call graph for this function:

◆ AddShortcut()

void MapClientSession::AddShortcut ( int  index,
NetCommand command 
)

◆ addSouvenir()

void addSouvenir ( MapClientSession cl,
Souvenir  souvenir 
)
Here is the call graph for this function:

◆ addVictim()

void addVictim ( MapInstance mi,
QString &  name,
glm::vec3 &  loc,
int  variation,
glm::vec3 &  ori,
QString &  npc_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ animateValue()

float animateValue ( float  v,
float  start,
float  target,
float  length,
float  dT 
)
Here is the caller graph for this function:

◆ base_name()

QString MapTemplate::base_name ( ) const
Here is the caller graph for this function:

◆ callFunc() [1/4]

std::string ScriptingEngine::callFunc ( const char *  name,
int  arg1 
)
Here is the caller graph for this function:

◆ callFunc() [2/4]

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

◆ callFunc() [3/4]

std::string ScriptingEngine::callFunc ( const char *  name,
const char *  arg1,
glm::vec3  loc 
)

◆ callFunc() [4/4]

std::string ScriptingEngine::callFunc ( const char *  name,
std::vector< Contact contact_list 
)

◆ callFuncWithClientContext() [1/3]

std::string ScriptingEngine::callFuncWithClientContext ( MapClientSession client,
const char *  name,
int  arg1 
)
Here is the caller graph for this function:

◆ callFuncWithClientContext() [2/3]

std::string ScriptingEngine::callFuncWithClientContext ( MapClientSession client,
const char *  name,
int  arg1,
glm::vec3  loc 
)
Here is the call graph for this function:

◆ callFuncWithClientContext() [3/3]

std::string ScriptingEngine::callFuncWithClientContext ( MapClientSession client,
const char *  name,
const char *  arg1,
glm::vec3  loc 
)
Here is the call graph for this function:

◆ callFuncWithMapInstance()

void ScriptingEngine::callFuncWithMapInstance ( MapInstance mi,
const char *  name,
int  arg1 
)
Here is the caller graph for this function:

◆ checkPowerTimers()

void World::checkPowerTimers ( Entity e,
uint32_t  msec 
)
protected
Here is the call graph for this function:

◆ clearTimer()

void MapInstance::clearTimer ( uint32_t  entity_idx)

◆ client_filename()

QString MapTemplate::client_filename ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ closest_safe_location()

glm::vec3 MapInstance::closest_safe_location ( glm::vec3  v) const

◆ collisionStep()

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

◆ CommandEventFromStream()

MapLinkEvent * MapEventFactory::CommandEventFromStream ( BitStream bs)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateCritter()

Entity * EntityManager::CreateCritter ( const GameDataStore data,
const Parse_NPC tpl,
int  idx,
int  variant,
int  level 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateGeneric()

Entity * EntityManager::CreateGeneric ( const GameDataStore data,
const Parse_NPC tpl,
int  idx,
int  variant,
EntType  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createKioskMessage()

QString createKioskMessage ( Entity player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createMapMenu()

QString createMapMenu ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateNpc()

Entity * EntityManager::CreateNpc ( const GameDataStore data,
const Parse_NPC tpl,
int  idx,
int  variant 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreatePlayer()

Entity * EntityManager::CreatePlayer ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteEmailHeaders()

void deleteEmailHeaders ( MapClientSession sess,
const uint32_t  email_id 
)
Here is the call graph for this function:

◆ dispatch()

void MapInstance::dispatch ( SEGSEvents::Event ev)
overridevirtual

Implements EventProcessor.

Here is the call graph for this function:

◆ effectsStep()

void World::effectsStep ( Entity e,
uint32_t  msec 
)
protected
Here is the call graph for this function:

◆ enqueue_client()

void MapInstance::enqueue_client ( MapClientSession clnt)
protected
Here is the call graph for this function:

◆ EntityManager()

EntityManager::EntityManager ( )

◆ EntityStore()

EntityStore::EntityStore ( )

◆ EventFromStream()

MapLinkEvent * MapEventFactory::EventFromStream ( BitStream bs)
overridevirtual

Reimplemented from CRUD_EventFactory.

Here is the call graph for this function:

◆ get()

Entity * EntityStore::get ( )

◆ get_instance()

MapInstance * MapTemplate::get_instance ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_map_door_transfers()

QHash< QString, MapXferData > MapInstance::get_map_door_transfers ( )
Here is the caller graph for this function:

◆ get_map_transfers()

QHash< QString, MapXferData > MapSceneGraph::get_map_transfers ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_map_zone_transfers()

QHash< QString, MapXferData > MapInstance::get_map_zone_transfers ( )

◆ get_template()

MapTemplate * MapManager::get_template ( QString  id)

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

Here is the caller graph for this function:

◆ getCommandByName()

NetCommand * NetCommandManager::getCommandByName ( const QString &  name)
Here is the call graph for this function:

◆ getCostumeFromName()

QString getCostumeFromName ( const QString &  n)
Here is the caller graph for this function:

◆ getEmailHeaders()

void getEmailHeaders ( MapClientSession sess)
Here is the call graph for this function:

◆ getEntity() [1/3]

Entity* getEntity ( MapClientSession src,
const QString &  name 
)
strong
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntity() [2/3]

Entity* getEntity ( MapClientSession src,
uint32_t  idx 
)
Here is the call graph for this function:

◆ getEntity() [3/3]

Entity* getEntity ( MapInstance mi,
uint32_t  idx 
)

◆ getEntityByDBID()

Entity* getEntityByDBID ( MapInstance mi,
uint32_t  db_id 
)

Finds the Entity in the MapInstance.

Parameters
mimap instance
db_iddb id of the entity to find.
Returns
pointer to the entity or nullptr if it does not exist.
Here is the caller graph for this function:

◆ getNearestDoor()

QString MapInstance::getNearestDoor ( glm::vec3  location)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRelayRaceResult()

RelayRaceResult getRelayRaceResult ( MapClientSession cl,
int  segment 
)

◆ getSpawnPoints()

QMultiHash< QString, glm::mat4 > MapSceneGraph::getSpawnPoints ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ giveDebt()

void giveDebt ( MapClientSession sess,
int  debt 
)
Here is the call graph for this function:

◆ giveEnd()

void giveEnd ( MapClientSession sess,
float  end 
)
Here is the call graph for this function:

◆ giveEnhancement()

void giveEnhancement ( MapClientSession sess,
QString &  name,
int  e_level 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ giveHp()

void giveHp ( MapClientSession sess,
float  hp 
)
Here is the call graph for this function:

◆ giveInsp()

void giveInsp ( MapClientSession sess,
QString &  name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ giveTempPower()

void giveTempPower ( MapClientSession cl,
const char *  power 
)
Here is the call graph for this function:

◆ giveXp()

void giveXp ( MapClientSession sess,
int  xp 
)
Here is the call graph for this function:

◆ increaseLevel()

void increaseLevel ( Entity ent)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsertPlayer()

void EntityManager::InsertPlayer ( Entity ent)
Here is the caller graph for this function:

◆ isFriendOnline()

bool isFriendOnline ( Entity src,
uint32_t  db_id 
)
Here is the call graph for this function:

◆ isPlayerDead()

bool World::isPlayerDead ( Entity e)
protected
Here is the call graph for this function:

◆ load_map_lua()

void MapInstance::load_map_lua ( )
Here is the caller graph for this function:

◆ load_templates()

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.

Here is the call graph for this function:

◆ loadAndRunFile()

int ScriptingEngine::loadAndRunFile ( const QString &  path)
Here is the caller graph for this function:

◆ loadFromFile()

bool MapSceneGraph::loadFromFile ( const QString &  mapname)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ logSpawnLocations()

void logSpawnLocations ( MapClientSession cl,
const char *  spawn_type 
)
Here is the call graph for this function:

◆ luaopen_io()

int luaopen_io ( lua_State *  )

◆ luaopen_os()

int luaopen_os ( lua_State *  )

◆ luaopen_package()

int luaopen_package ( lua_State *  )

◆ map_manager()

MapManager & MapServer::map_manager ( )
Here is the caller graph for this function:

◆ MapInstance()

MapInstance::MapInstance ( const QString &  name,
const ListenAndLocationAddresses listen_addr 
)
Here is the call graph for this function:

◆ MapManager()

MapManager::MapManager ( )

◆ MapSceneGraph()

MapSceneGraph::MapSceneGraph ( )

◆ MapServer()

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

◆ MapTemplate()

MapTemplate::MapTemplate ( const QString &  template_filename,
uint8_t  game_server_id,
uint32_t  map_server_id,
const ListenAndLocationAddresses loc 
)

◆ max_instances()

size_t MapManager::max_instances ( )

◆ modifyInf()

void modifyInf ( MapClientSession sess,
int  amount 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ npc_by_name()

const Parse_NPC * NPCStorage::npc_by_name ( const QStringRef &  name) const
Here is the caller graph for this function:

◆ npc_idx() [1/2]

int NPCStorage::npc_idx ( const Parse_NPC npc) const
Here is the caller graph for this function:

◆ npc_idx() [2/2]

int NPCStorage::npc_idx ( const QString &  name)
Here is the call graph for this function:

◆ npcSendMessage() [1/2]

void npcSendMessage ( MapClientSession cl,
QString &  channel,
int  entityIdx,
QString &  message 
)
Here is the call graph for this function:

◆ npcSendMessage() [2/2]

void npcSendMessage ( MapInstance mi,
QString &  channel,
int  entityIdx,
QString &  message 
)
Here is the call graph for this function:

◆ num_instances()

size_t MapTemplate::num_instances ( )

If there are no instances, starts a new one.

◆ num_templates()

size_t MapManager::num_templates ( )

◆ on_abort_queued_power()

void MapInstance::on_abort_queued_power ( SEGSEvents::AbortQueuedPower ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_activate_inspiration()

void MapInstance::on_activate_inspiration ( SEGSEvents::ActivateInspiration ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_activate_power()

void MapInstance::on_activate_power ( SEGSEvents::ActivatePower ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_activate_power_at_location()

void MapInstance::on_activate_power_at_location ( SEGSEvents::ActivatePowerAtLocation ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_afk_update()

void MapInstance::on_afk_update ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_awaiting_dead_no_gurney()

void MapInstance::on_awaiting_dead_no_gurney ( SEGSEvents::AwaitingDeadNoGurney ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_browser_close()

void MapInstance::on_browser_close ( SEGSEvents::BrowserClose ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_buy_enhancement_slot()

void MapInstance::on_buy_enhancement_slot ( SEGSEvents::BuyEnhancementSlot ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_change_stance()

void MapInstance::on_change_stance ( SEGSEvents::ChangeStance ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_character_created()

void MapInstance::on_character_created ( SEGSEvents::CreateNewCharacterResponse *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_chat_reconfigured()

void MapInstance::on_chat_reconfigured ( SEGSEvents::ChatReconfigure ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_check_links()

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

◆ on_client_connected_to_other_server()

void MapInstance::on_client_connected_to_other_server ( SEGSEvents::ClientConnectedMessage *  ev)
protected

◆ on_client_disconnected_from_other_server()

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

◆ on_client_options()

void MapInstance::on_client_options ( SEGSEvents::SaveClientOptions ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_client_quit()

void MapInstance::on_client_quit ( SEGSEvents::ClientQuit ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_client_resumed()

void MapInstance::on_client_resumed ( SEGSEvents::ClientResumedRendering ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_combine_enhancements()

void MapInstance::on_combine_enhancements ( SEGSEvents::CombineEnhancementsReq ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_command_chat_divider_moved()

void MapInstance::on_command_chat_divider_moved ( SEGSEvents::ChatDividerMoved ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_connection_request()

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

◆ on_console_command()

void MapInstance::on_console_command ( SEGSEvents::ConsoleCommand ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_cookie_confirm()

void MapInstance::on_cookie_confirm ( SEGSEvents::CookieRequest ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_create_map_entity()

void MapInstance::on_create_map_entity ( SEGSEvents::NewEntity ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_dead_no_gurney_ok()

void MapInstance::on_dead_no_gurney_ok ( SEGSEvents::DeadNoGurneyOK ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_description_and_battlecry()

void MapInstance::on_description_and_battlecry ( SEGSEvents::DescriptionAndBattleCry ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_dialog_button()

void MapInstance::on_dialog_button ( SEGSEvents::DialogButton ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_disconnect()

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

◆ on_email_create_status()

void MapInstance::on_email_create_status ( SEGSEvents::EmailCreateStatusMessage *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_email_header_response()

void MapInstance::on_email_header_response ( SEGSEvents::EmailHeaderResponse *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_email_header_to_client()

void MapInstance::on_email_header_to_client ( SEGSEvents::EmailHeaderToClientMessage *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_email_headers_to_client()

void MapInstance::on_email_headers_to_client ( SEGSEvents::EmailHeadersToClientMessage *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_email_read_by_recipient()

void MapInstance::on_email_read_by_recipient ( SEGSEvents::EmailWasReadByRecipientMessage *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_email_read_response()

void MapInstance::on_email_read_response ( SEGSEvents::EmailReadResponse *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_emote_command()

void MapInstance::on_emote_command ( const QString &  command,
Entity ent 
)
protected
Here is the call graph for this function:

◆ on_enter_door()

void MapInstance::on_enter_door ( SEGSEvents::EnterDoor ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_entities_request()

void MapInstance::on_entities_request ( SEGSEvents::EntitiesRequest ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_entity_by_name_response()

void MapInstance::on_entity_by_name_response ( SEGSEvents::GetEntityByNameResponse *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_entity_info_request()

void MapInstance::on_entity_info_request ( SEGSEvents::EntityInfoRequest ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_entity_response()

void MapInstance::on_entity_response ( SEGSEvents::GetEntityResponse *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_expect_client()

void MapInstance::on_expect_client ( SEGSEvents::ExpectMapClientRequest *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_expect_client_response()

void MapInstance::on_expect_client_response ( SEGSEvents::ExpectMapClientResponse *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_has_entered_door()

void MapInstance::on_has_entered_door ( SEGSEvents::HasEnteredDoor ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_idle()

void MapInstance::on_idle ( SEGSEvents::Idle ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_initiate_map_transfer()

void MapInstance::on_initiate_map_transfer ( SEGSEvents::InitiateMapXfer ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_input_state()

void MapInstance::on_input_state ( SEGSEvents::RecvInputState st)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_inspiration_dockmode()

void MapInstance::on_inspiration_dockmode ( SEGSEvents::InspirationDockMode ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_interact_with()

void MapInstance::on_interact_with ( SEGSEvents::InteractWithEntity ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_levelup_response()

void MapInstance::on_levelup_response ( SEGSEvents::LevelUpResponse ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_link_lost()

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

◆ on_location_visited()

void MapInstance::on_location_visited ( SEGSEvents::LocationVisited ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_lua_update()

void MapInstance::on_lua_update ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_map_swap_collision()

void MapInstance::on_map_swap_collision ( SEGSEvents::MapSwapCollisionMessage *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_map_xfer_complete()

void MapInstance::on_map_xfer_complete ( SEGSEvents::MapXferComplete ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_minimap_state()

void MapInstance::on_minimap_state ( SEGSEvents::MiniMapState ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_move_enhancement()

void MapInstance::on_move_enhancement ( SEGSEvents::MoveEnhancement ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_move_inspiration()

void MapInstance::on_move_inspiration ( SEGSEvents::MoveInspiration ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_name_clash_check_result()

void MapInstance::on_name_clash_check_result ( SEGSEvents::WouldNameDuplicateResponse *  ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_plaque_visited()

void MapInstance::on_plaque_visited ( SEGSEvents::PlaqueVisited ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_powers_dockmode()

void MapInstance::on_powers_dockmode ( SEGSEvents::PowersDockMode ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_receive_contact_status()

void MapInstance::on_receive_contact_status ( SEGSEvents::ReceiveContactStatus ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_receive_task_detail_request()

void MapInstance::on_receive_task_detail_request ( SEGSEvents::ReceiveTaskDetailRequest ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_recv_costume_change()

void MapInstance::on_recv_costume_change ( SEGSEvents::RecvCostumeChange ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_recv_new_power()

void MapInstance::on_recv_new_power ( SEGSEvents::RecvNewPower ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_recv_selected_titles()

void MapInstance::on_recv_selected_titles ( SEGSEvents::RecvSelectedTitles ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_remove_keybind()

void MapInstance::on_remove_keybind ( SEGSEvents::RemoveKeybind ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_reset_keybinds()

void MapInstance::on_reset_keybinds ( SEGSEvents::ResetKeybinds ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_scene_request()

void MapInstance::on_scene_request ( SEGSEvents::SceneRequest ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_select_keybind_profile()

void MapInstance::on_select_keybind_profile ( SEGSEvents::SelectKeybindProfile ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_set_default_power()

void MapInstance::on_set_default_power ( SEGSEvents::SetDefaultPower ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_set_destination()

void MapInstance::on_set_destination ( SEGSEvents::SetDestination ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_set_enhancement()

void MapInstance::on_set_enhancement ( SEGSEvents::SetEnhancement ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_set_keybind()

void MapInstance::on_set_keybind ( SEGSEvents::SetKeybind ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_shortcuts_request()

void MapInstance::on_shortcuts_request ( SEGSEvents::ShortcutsRequest ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_souvenir_detail_request()

void MapInstance::on_souvenir_detail_request ( SEGSEvents::SouvenirDetailRequest ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_store_buy_item()

void MapInstance::on_store_buy_item ( SEGSEvents::StoreBuyItem ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_store_sell_item()

void MapInstance::on_store_sell_item ( SEGSEvents::StoreSellItem ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_switch_tray()

void MapInstance::on_switch_tray ( SEGSEvents::SwitchTray ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_switch_viewpoint()

void MapInstance::on_switch_viewpoint ( SEGSEvents::SwitchViewPoint ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_target_chat_channel_selected()

void MapInstance::on_target_chat_channel_selected ( SEGSEvents::TargetChatChannelSelected ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_timeout()

void MapInstance::on_timeout ( SEGSEvents::Timeout ev)
protected

Handle instance-wide timers.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_trade_cancelled()

void MapInstance::on_trade_cancelled ( SEGSEvents::TradeWasCancelledMessage ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_trade_updated()

void MapInstance::on_trade_updated ( SEGSEvents::TradeWasUpdatedMessage ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_trash_enhancement()

void MapInstance::on_trash_enhancement ( SEGSEvents::TrashEnhancement ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_trash_enhancement_in_power()

void MapInstance::on_trash_enhancement_in_power ( SEGSEvents::TrashEnhancementInPower ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_unqueue_all()

void MapInstance::on_unqueue_all ( SEGSEvents::UnqueueAll ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_unset_default_power()

void MapInstance::on_unset_default_power ( SEGSEvents::UnsetDefaultPower ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_update_entities()

void MapInstance::on_update_entities ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_window_state()

void MapInstance::on_window_state ( SEGSEvents::WindowState ev)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openStore()

void openStore ( MapClientSession sess,
int  entity_idx 
)
Here is the call graph for this function:

◆ per_thread_shutdown()

void MapServer::per_thread_shutdown ( )
overridevirtual

Reimplemented from EventProcessor.

◆ physicsStep()

void World::physicsStep ( Entity e,
uint32_t  msec 
)
protected
Here is the call graph for this function:

◆ playerTrain()

void playerTrain ( MapClientSession sess)
Here is the call graph for this function:

◆ positionTest()

void positionTest ( MapClientSession tgt)
Here is the call graph for this function:

◆ prepare_dictionaries()

void NPCStorage::prepare_dictionaries ( )

◆ process_chat()

void MapInstance::process_chat ( Entity sender,
QString &  msg_text 
)
protected
Here is the caller graph for this function:

◆ process_replacement_strings()

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:

◆ ReadConfigAndRestart()

bool MapServer::ReadConfigAndRestart ( )
Parameters
inipathDoc at RoamingServer::ReadConfig
Returns
bool (false means an error occurred )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readEmailMessage()

void readEmailMessage ( MapClientSession sess,
const uint32_t  email_id 
)
Here is the call graph for this function:

◆ reap_stale_links()

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

◆ regenHealthEnd()

void World::regenHealthEnd ( Entity e,
uint32_t  msec 
)
protected
Here is the call graph for this function:

◆ registerTypes()

void ScriptingEngine::registerTypes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ release()

void EntityStore::release ( Entity src)

◆ removeClue()

void removeClue ( MapClientSession cl,
Clue  clue 
)
Here is the call graph for this function:

◆ removeContact()

void removeContact ( MapClientSession sess,
Contact  contact 
)
Here is the call graph for this function:

◆ removeEntityFromActiveList()

void EntityManager::removeEntityFromActiveList ( Entity ent)
Here is the caller graph for this function:

◆ removeSouvenir()

void removeSouvenir ( MapClientSession cl,
Souvenir  souvenir 
)
Here is the call graph for this function:

◆ removeTask()

void removeTask ( MapClientSession src,
Task  task 
)
Here is the call graph for this function:

◆ respawn()

void respawn ( MapClientSession cl,
const char *  spawn_type 
)
Here is the call graph for this function:

◆ revive()

void revive ( MapClientSession cl,
int  revive_lvl 
)
Here is the call graph for this function:

◆ runCommand()

void runCommand ( const QString &  str,
MapClientSession e 
)

◆ runScript() [1/2]

int ScriptingEngine::runScript ( const QString &  script_contents,
const char *  script_name = "unnamed script" 
)
Here is the caller graph for this function:

◆ runScript() [2/2]

int ScriptingEngine::runScript ( MapClientSession client,
const QString &  script_contents,
const char *  script_name = "unnamed script" 
)
Here is the call graph for this function:

◆ ScriptingEngine()

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

◆ selectTask()

void selectTask ( MapClientSession src,
Task  task 
)
Here is the call graph for this function:

◆ send_character_update()

void MapInstance::send_character_update ( Entity e)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ send_player_update()

void MapInstance::send_player_update ( Entity e)
Here is the call graph for this function:

◆ sendBrowser()

void sendBrowser ( MapClientSession sess,
QString &  content 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendBuffs()

void sendBuffs ( const Entity src,
BitStream bs 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendChangeTitle()

void sendChangeTitle ( MapClientSession sess,
bool  select_origin 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendClientConsoleOutput()

void sendClientConsoleOutput ( MapClientSession cl,
QString &  message 
)
Here is the call graph for this function:

◆ sendClientState()

void sendClientState ( MapClientSession sess,
ClientStates  client_state 
)
Here is the call graph for this function:

◆ sendClueList()

void sendClueList ( MapClientSession sess)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendContactDialog()

void sendContactDialog ( MapClientSession sess,
QString  msg_body,
std::vector< ContactEntry active_contacts 
)
Here is the call graph for this function:

◆ sendContactDialogClose()

void sendContactDialogClose ( MapClientSession sess)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendContactDialogYesNoOk()

void sendContactDialogYesNoOk ( MapClientSession sess,
QString  msg_body,
bool  has_yesno 
)
Here is the call graph for this function:

◆ sendContactStatusList()

void sendContactStatusList ( MapClientSession sess)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendDeadNoGurney()

void sendDeadNoGurney ( MapClientSession sess)
Here is the call graph for this function:

◆ sendDebuggedEntities()

void EntityManager::sendDebuggedEntities ( BitStream tgt) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendDeletes()

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

send the Entity removals to bring the world-state beliefs between server and client into sync

Parameters
tgtis the bitstream that will contain the serialized deletes
clientis used to compare the current world-state beliefs between server and given player
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendDeveloperConsoleOutput()

void sendDeveloperConsoleOutput ( MapClientSession cl,
QString &  message 
)
Here is the call graph for this function:

◆ sendDoorAnimExit()

void sendDoorAnimExit ( MapClientSession sess,
bool  force_move 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendDoorAnimStart()

void sendDoorAnimStart ( MapClientSession sess,
glm::vec3 &  entry_pos,
glm::vec3 &  target_pos,
bool  has_anims,
QString &  seq_state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendDoorMessage()

void sendDoorMessage ( MapClientSession sess,
uint32_t  delay_status,
QString &  msg 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendEmail()

void sendEmail ( MapClientSession sess,
QString  recipient_name,
QString  subject,
QString  message 
)
Here is the call graph for this function:

◆ sendEnhanceCombineResponse()

void sendEnhanceCombineResponse ( MapClientSession sess,
bool  success,
bool  destroy 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendEntities()

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:

◆ sendFaceEntity()

void sendFaceEntity ( MapClientSession sess,
int32_t  tgt_idx 
)
Here is the call graph for this function:

◆ sendFaceLocation()

void sendFaceLocation ( MapClientSession sess,
glm::vec3 &  loc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendFloatingInfo()

void sendFloatingInfo ( MapClientSession sess,
QString &  msg,
FloatingInfoStyle  style,
float  delay 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendFloatingNumbers()

void sendFloatingNumbers ( MapClientSession sess,
uint32_t  tgt_idx,
int32_t  amount 
)
Here is the call graph for this function:

◆ sendForceLogout()

void sendForceLogout ( MapClientSession cl,
QString &  player_name,
QString &  logout_message 
)
Here is the call graph for this function:

◆ sendFriendsListUpdate()

void sendFriendsListUpdate ( MapClientSession sess,
const FriendsList friends_list 
)
Here is the call graph for this function:

◆ sendGlobalEntDebugInfo()

void EntityManager::sendGlobalEntDebugInfo ( BitStream tgt) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendKiosk()

void sendKiosk ( MapClientSession cl)
Here is the call graph for this function:

◆ sendLevelUp()

void sendLevelUp ( MapClientSession sess)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendLocation()

void sendLocation ( MapClientSession cl,
VisitLocation  location 
)
Here is the call graph for this function:

◆ sendMissionObjectiveTimer()

void sendMissionObjectiveTimer ( MapClientSession sess,
QString &  message,
float  time 
)
Here is the call graph for this function:

◆ sendServerMOTD()

void sendServerMOTD ( MapClientSession tgt)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendSidekickOffer()

void sendSidekickOffer ( MapClientSession sess,
uint32_t  src_db_id 
)
Here is the call graph for this function:

◆ sendSouvenirList()

void sendSouvenirList ( MapClientSession sess)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendStance()

void sendStance ( MapClientSession sess,
PowerStance stance 
)
Here is the call graph for this function:

◆ sendState()

void MapInstance::sendState ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendTailorOpen()

void sendTailorOpen ( MapClientSession sess)
Here is the call graph for this function:

◆ sendTaskStatusList()

void sendTaskStatusList ( MapClientSession src)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendTeamLooking()

void sendTeamLooking ( MapClientSession sess)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendTeamOffer()

void sendTeamOffer ( MapClientSession src,
MapClientSession tgt 
)
Here is the call graph for this function:

◆ sendTimeStateLog()

void sendTimeStateLog ( MapClientSession sess,
uint32_t  control_log 
)
Here is the call graph for this function:

◆ sendTimeUpdate()

void sendTimeUpdate ( MapClientSession sess,
int32_t  sec_since_jan_1_2000 
)
Here is the call graph for this function:

◆ sendTradeCancel()

void sendTradeCancel ( MapClientSession sess,
const QString &  msg 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendTradeInit()

void sendTradeInit ( MapClientSession src,
MapClientSession tgt 
)
Here is the call graph for this function:

◆ sendTradeOffer()

void sendTradeOffer ( MapClientSession tgt,
const QString &  name 
)
Here is the call graph for this function:

◆ sendTradeSuccess()

void sendTradeSuccess ( MapClientSession src,
MapClientSession tgt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendTradeUpdate()

void sendTradeUpdate ( MapClientSession src,
MapClientSession tgt,
const TradeMember trade_src,
const TradeMember trade_tgt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendTrayAdd()

void sendTrayAdd ( MapClientSession sess,
uint32_t  pset_idx,
uint32_t  pow_idx 
)
Here is the call graph for this function:

◆ sendUpdateTaskStatusList()

void sendUpdateTaskStatusList ( MapClientSession src,
Task  task 
)
Here is the call graph for this function:

◆ sendWaypoint()

void sendWaypoint ( MapClientSession sess,
int  point_idx,
glm::vec3 &  location 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize_from()

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

Implements EventProcessor.

◆ serialize_to()

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

Implements EventProcessor.

◆ serializefrom()

int NetCommand::serializefrom ( BitStream bs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ serializeto()

void serializeto ( const Entity src,
ClientEntityStateBelief belief,
BitStream bs 
)
Here is the call graph for this function:

◆ session_has_xfer_in_progress()

bool MapServer::session_has_xfer_in_progress ( uint64_t  session_token)
Here is the caller graph for this function:

◆ session_map_xfer_idx()

MapXferData & MapServer::session_map_xfer_idx ( uint64_t  session_token)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ session_xfer_complete()

void MapServer::session_xfer_complete ( uint64_t  session_token)
Here is the call graph for this function:

◆ set_game_server_owner()

void MapServer::set_game_server_owner ( uint8_t  owner_id)
Here is the call graph for this function:

◆ setIncludeDir()

bool ScriptingEngine::setIncludeDir ( const QString &  path)
Here is the caller graph for this function:

◆ setInterpolationSettings()

void setInterpolationSettings ( MapClientSession sess,
const bool  active,
const uint8_t  level,
const uint8_t  bits 
)
Here is the call graph for this function:

◆ setPlayerSpawn()

void MapInstance::setPlayerSpawn ( Entity e)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSpawnLocation()

void MapInstance::setSpawnLocation ( Entity e,
const QString &  spawnLocation 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTitle()

void setTitle ( MapClientSession sess,
QString &  title 
)
Here is the call graph for this function:

◆ showMapMenu()

void showMapMenu ( MapClientSession sess)
Here is the call graph for this function:

◆ showMapXferList()

void showMapXferList ( MapClientSession sess,
bool  has_location,
glm::vec3 &  location,
QString &  name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shut_down_all() [1/2]

void MapTemplate::shut_down_all ( )

◆ shut_down_all() [2/2]

void MapManager::shut_down_all ( )

◆ spawn_critters()

void MapSceneGraph::spawn_critters ( class MapInstance instance)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spawn_npcs()

void MapSceneGraph::spawn_npcs ( class MapInstance instance)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spin_down()

void MapInstance::spin_down ( )
protected

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.

◆ spin_up_for()

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:

◆ start()

void MapInstance::start ( const QString &  scenegraph_path)
Here is the call graph for this function:

◆ startTimer()

void MapInstance::startTimer ( uint32_t  entity_idx)
Here is the call graph for this function:

◆ stopTimer()

void MapInstance::stopTimer ( uint32_t  entity_idx)

◆ toggleLFG()

void toggleLFG ( Entity e)
Here is the call graph for this function:

◆ update()

void World::update ( const ACE_Time_Value &  tick_timer)
Here is the caller graph for this function:

◆ updateClientContext() [1/2]

void updateClientContext ( MapClientSession client)
Here is the call graph for this function:

◆ updateClientContext() [2/2]

void ScriptingEngine::updateClientContext ( MapClientSession client)
Here is the caller graph for this function:

◆ UpdateCommandShortcuts()

void NetCommandManager::UpdateCommandShortcuts ( MapClientSession client,
std::vector< QString > &  commands 
)

◆ updateContactStatusList()

void updateContactStatusList ( MapClientSession sess,
const Contact updated_contact_data 
)
Here is the call graph for this function:

◆ updateEntity()

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

◆ updateMapInstance()

void ScriptingEngine::updateMapInstance ( MapInstance instance)
Here is the caller graph for this function:

◆ updateTaskDetail()

void updateTaskDetail ( MapClientSession src,
Task  task 
)
Here is the call graph for this function:

◆ usePower()

void usePower ( Entity ent,
uint32_t  pset_idx,
uint32_t  pow_idx,
int32_t  tgt_idx,
int32_t  tgt_id 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ walkSceneNode()

void walkSceneNode ( SceneNode self,
const glm::mat4 &  accumulated,
std::function< bool(SceneNode *, const glm::mat4 &)>  visit_func 
)
Here is the caller graph for this function:

◆ ~MapInstance()

MapInstance::~MapInstance ( )
override
Here is the call graph for this function:

◆ ~MapManager()

MapManager::~MapManager ( )

◆ ~MapSceneGraph()

MapSceneGraph::~MapSceneGraph ( )

◆ ~MapServer()

MapServer::~MapServer ( )
override

◆ ~ScriptingEngine()

ScriptingEngine::~ScriptingEngine ( )
default
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_GlobalMapServer

MapServer* g_GlobalMapServer =nullptr

◆ m_factory

MapEventFactory MapLink::m_factory
staticprotected