TrinityCore
Loading...
Searching...
No Matches
ScriptRegistrySwapHooks< SceneScript, Base > Class Template Reference

This hook is responsible for swapping SceneScript's. More...

+ Inheritance diagram for ScriptRegistrySwapHooks< SceneScript, 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
 
ScriptRegistrySwapHookBaseoperator= (ScriptRegistrySwapHookBase const &)=delete
 
ScriptRegistrySwapHookBaseoperator= (ScriptRegistrySwapHookBase &&)=delete
 
virtual void OnScriptNamesSync ()
 Called manually to sync scriptnames.
 

Private Attributes

bool swapped
 

Detailed Description

template<typename Base>
class ScriptRegistrySwapHooks< SceneScript, Base >

This hook is responsible for swapping SceneScript's.

Definition at line 906 of file ScriptMgr.cpp.

Constructor & Destructor Documentation

◆ ScriptRegistrySwapHooks()

Definition at line 910 of file ScriptMgr.cpp.

Member Function Documentation

◆ BeforeReleaseContext()

template<typename Base >
void ScriptRegistrySwapHooks< SceneScript, Base >::BeforeReleaseContext ( std::string const &  )
inlinefinaloverridevirtual

Called before the actual context release happens.

Reimplemented from ScriptRegistrySwapHookBase.

Definition at line 912 of file ScriptMgr.cpp.

◆ BeforeSwapContext()

template<typename Base >
void ScriptRegistrySwapHooks< SceneScript, Base >::BeforeSwapContext ( bool  )
inlineoverridevirtual

Called before SwapContext.

Reimplemented from ScriptRegistrySwapHookBase.

Definition at line 919 of file ScriptMgr.cpp.

◆ BeforeUnload()

template<typename Base >
void ScriptRegistrySwapHooks< SceneScript, Base >::BeforeUnload ( )
inlinefinaloverridevirtual

Called before Unload.

Reimplemented from ScriptRegistrySwapHookBase.

Definition at line 924 of file ScriptMgr.cpp.

Member Data Documentation

◆ swapped

template<typename Base >
bool ScriptRegistrySwapHooks< SceneScript, Base >::swapped
private

Definition at line 930 of file ScriptMgr.cpp.


The documentation for this class was generated from the following file: