![]() |
TrinityCore
|
This hook is responsible for swapping Creature and GameObject AI's. More...
Inheritance diagram for CreatureGameObjectScriptRegistrySwapHooks< ObjectType, ScriptType, Base >:Classes | |
| class | AIFunctionMapWorker |
| class | AsyncCastHotswapEffectEvent |
Public Member Functions | |
| void | BeforeReleaseContext (std::string const &context) final override |
| Called before the actual context release happens. | |
| void | BeforeSwapContext (bool initialize) override |
| Called before SwapContext. | |
| void | BeforeUnload () final override |
| Called before Unload. | |
Public Member Functions inherited from ScriptRegistrySwapHookBase | |
| ScriptRegistrySwapHookBase () | |
| virtual | ~ScriptRegistrySwapHookBase () |
| ScriptRegistrySwapHookBase (ScriptRegistrySwapHookBase const &)=delete | |
| ScriptRegistrySwapHookBase (ScriptRegistrySwapHookBase &&)=delete | |
| ScriptRegistrySwapHookBase & | operator= (ScriptRegistrySwapHookBase const &)=delete |
| ScriptRegistrySwapHookBase & | operator= (ScriptRegistrySwapHookBase &&)=delete |
Static Private Member Functions | |
| static void | UnloadResetScript (Creature *creature) |
| static void | UnloadDestroyScript (Creature *creature) |
| static void | UnloadResetScript (GameObject *gameobject) |
| static void | UnloadDestroyScript (GameObject *gameobject) |
| static void | LoadInitializeScript (Creature *creature) |
| static void | LoadResetScript (Creature *creature) |
| static void | LoadInitializeScript (GameObject *gameobject) |
| static void | LoadResetScript (GameObject *gameobject) |
| static Creature * | GetEntityFromMap (std::common_type< Creature >, Map *map, ObjectGuid const &guid) |
| static GameObject * | GetEntityFromMap (std::common_type< GameObject >, Map *map, ObjectGuid const &guid) |
| template<typename T > | |
| static void | VisitObjectsToSwapOnMap (Map *map, std::unordered_set< uint32 > const &idsToRemove, T visitor) |
| static void | DestroyScriptIdsFromSet (std::unordered_set< uint32 > const &idsToRemove) |
| static void | InitializeScriptIdsFromSet (std::unordered_set< uint32 > const &idsToRemove) |
Private Attributes | |
| std::unordered_set< uint32 > | ids_removed_ |
This hook is responsible for swapping Creature and GameObject AI's.
Definition at line 338 of file ScriptMgr.cpp.
|
inlinefinaloverridevirtual |
Called before the actual context release happens.
Reimplemented from ScriptRegistrySwapHookBase.
Definition at line 557 of file ScriptMgr.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Called before SwapContext.
Reimplemented from ScriptRegistrySwapHookBase.
Definition at line 566 of file ScriptMgr.cpp.
Here is the call graph for this function:
|
inlinefinaloverridevirtual |
Called before Unload.
Reimplemented from ScriptRegistrySwapHookBase.
Definition at line 583 of file ScriptMgr.cpp.
|
inlinestaticprivate |
Definition at line 497 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
Definition at line 467 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 526 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
Definition at line 423 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 437 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 393 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 377 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 478 of file ScriptMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 589 of file ScriptMgr.cpp.