![]() |
TrinityCore
|
This hook is responsible for swapping BattlegroundMapScript's. More...
Inheritance diagram for ScriptRegistrySwapHooks< BattlegroundMapScript, Base >:Public Member Functions | |
| ScriptRegistrySwapHooks () | |
| void | BeforeReleaseContext (std::string const &context) final override |
| Called before the actual context release happens. | |
| void | BeforeSwapContext (bool) 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 |
| virtual void | OnScriptNamesSync () |
| Called manually to sync scriptnames. | |
Private Attributes | |
| bool | swapped |
This hook is responsible for swapping BattlegroundMapScript's.
Definition at line 877 of file ScriptMgr.cpp.
|
inline |
Definition at line 881 of file ScriptMgr.cpp.
|
inlinefinaloverridevirtual |
Called before the actual context release happens.
Reimplemented from ScriptRegistrySwapHookBase.
Definition at line 883 of file ScriptMgr.cpp.
|
inlineoverridevirtual |
Called before SwapContext.
Reimplemented from ScriptRegistrySwapHookBase.
Definition at line 890 of file ScriptMgr.cpp.
|
inlinefinaloverridevirtual |
Called before Unload.
Reimplemented from ScriptRegistrySwapHookBase.
Definition at line 895 of file ScriptMgr.cpp.
|
private |
Definition at line 901 of file ScriptMgr.cpp.