AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ScriptMgr.h"
Public Types | |
typedef std::map< uint32, TScript * > | ScriptMap |
typedef ScriptMap::iterator | ScriptMapIterator |
typedef std::vector< std::pair< TScript *, std::vector< uint16 > > > | ScriptVector |
typedef ScriptVector::iterator | ScriptVectorIterator |
typedef std::vector< std::vector< TScript * > > | EnabledHooksVector |
typedef EnabledHooksVector::iterator | EnabledHooksVectorIterator |
Static Public Member Functions | |
static void | InitEnabledHooksIfNeeded (uint16 totalAvailableHooks) |
static void | AddScript (TScript *const script, std::vector< uint16 > enabledHooks={}) |
static void | AddALScripts () |
static TScript * | GetScriptById (uint32 id) |
Static Public Attributes | |
static ScriptMap | ScriptPointerList |
static ScriptVector | ALScripts |
static EnabledHooksVector | EnabledHooks |
Static Private Member Functions | |
static bool | _checkMemory (TScript *const script) |
Static Private Attributes | |
static uint32 | _scriptIdCounter = 0 |
typedef std::vector<std::vector<TScript*> > ScriptRegistry< TScript >::EnabledHooksVector |
typedef EnabledHooksVector::iterator ScriptRegistry< TScript >::EnabledHooksVectorIterator |
typedef std::map<uint32, TScript*> ScriptRegistry< TScript >::ScriptMap |
typedef ScriptMap::iterator ScriptRegistry< TScript >::ScriptMapIterator |
typedef std::vector<std::pair<TScript*,std::vector<uint16> > > ScriptRegistry< TScript >::ScriptVector |
typedef ScriptVector::iterator ScriptRegistry< TScript >::ScriptVectorIterator |
|
inlinestaticprivate |
References LOG_ERROR, and ScriptRegistry< TScript >::ScriptPointerList.
Referenced by ScriptRegistry< TScript >::AddALScripts().
|
inlinestatic |
References ScriptRegistry< TScript >::_checkMemory(), ScriptRegistry< TScript >::_scriptIdCounter, ScriptRegistry< TScript >::ALScripts, ScriptRegistry< TScript >::EnabledHooks, LOG_ERROR, ScriptRegistry< TScript >::ScriptPointerList, sObjectMgr, and sScriptMgr.
Referenced by ScriptMgr::LoadDatabase().
|
inlinestatic |
Referenced by AccountScript::AccountScript(), AchievementCriteriaScript::AchievementCriteriaScript(), AchievementScript::AchievementScript(), AllBattlegroundScript::AllBattlegroundScript(), AllCommandScript::AllCommandScript(), AllCreatureScript::AllCreatureScript(), AllGameObjectScript::AllGameObjectScript(), AllItemScript::AllItemScript(), AllMapScript::AllMapScript(), AllSpellScript::AllSpellScript(), AreaTriggerScript::AreaTriggerScript(), ArenaScript::ArenaScript(), ArenaTeamScript::ArenaTeamScript(), AuctionHouseScript::AuctionHouseScript(), BattlegroundMapScript::BattlegroundMapScript(), BattlegroundScript::BattlegroundScript(), CommandScript::CommandScript(), ConditionScript::ConditionScript(), CreatureScript::CreatureScript(), DatabaseScript::DatabaseScript(), DynamicObjectScript::DynamicObjectScript(), ElunaScript::ElunaScript(), FormulaScript::FormulaScript(), GameEventScript::GameEventScript(), GameObjectScript::GameObjectScript(), GlobalScript::GlobalScript(), GroupScript::GroupScript(), GuildScript::GuildScript(), InstanceMapScript::InstanceMapScript(), ItemScript::ItemScript(), LootScript::LootScript(), MailScript::MailScript(), MiscScript::MiscScript(), ModuleScript::ModuleScript(), MovementHandlerScript::MovementHandlerScript(), OutdoorPvPScript::OutdoorPvPScript(), PetScript::PetScript(), PlayerScript::PlayerScript(), ServerScript::ServerScript(), SpellScriptLoader::SpellScriptLoader(), TransportScript::TransportScript(), UnitScript::UnitScript(), VehicleScript::VehicleScript(), WeatherScript::WeatherScript(), WorldMapScript::WorldMapScript(), WorldObjectScript::WorldObjectScript(), and WorldScript::WorldScript().
|
inlinestatic |
References ScriptRegistry< TScript >::ScriptPointerList.
Referenced by ScriptMgr::CreateAuraScripts(), ScriptMgr::CreateInstanceScript(), ScriptMgr::CreateOutdoorPvP(), ScriptMgr::CreateSpellScriptLoaders(), ScriptMgr::CreateSpellScripts(), ScriptMgr::GetCreatureAI(), ScriptMgr::GetDialogStatus(), ScriptMgr::GetGameObjectAI(), ScriptMgr::OnCastItemCombatSpell(), ScriptMgr::OnConditionCheck(), ScriptMgr::OnCriteriaCheck(), ScriptMgr::OnGossipHello(), ScriptMgr::OnGossipSelect(), ScriptMgr::OnGossipSelectCode(), ScriptMgr::OnItemExpire(), ScriptMgr::OnItemRemove(), ScriptMgr::OnItemUse(), ScriptMgr::OnQuestAccept(), ScriptMgr::OnQuestComplete(), ScriptMgr::OnQuestReward(), and ScriptMgr::OnQuestSelect().
|
inlinestatic |
References ScriptRegistry< TScript >::EnabledHooks.
Referenced by ScriptMgr::Initialize().
|
staticprivate |
Referenced by ScriptRegistry< TScript >::AddALScripts().
|
static |
Referenced by ScriptRegistry< TScript >::AddALScripts().
|
static |
|
static |