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

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

+ Inheritance diagram for ScriptRegistrySwapHooks< CommandScript, Base >:

Public Member Functions

void BeforeReleaseContext (std::string const &) 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.
 

Detailed Description

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

This hook is responsible for swapping CommandScript's.

Definition at line 1144 of file ScriptMgr.cpp.

Member Function Documentation

◆ BeforeReleaseContext()

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

Called before the actual context release happens.

Reimplemented from ScriptRegistrySwapHookBase.

Definition at line 1148 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

◆ BeforeSwapContext()

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

Called before SwapContext.

Reimplemented from ScriptRegistrySwapHookBase.

Definition at line 1153 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

◆ BeforeUnload()

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

Called before Unload.

Reimplemented from ScriptRegistrySwapHookBase.

Definition at line 1158 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

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