TrinityCore
|
#include <ScriptReloadMgr.h>
Public Member Functions | |
virtual | ~ModuleReference () |
virtual char const * | GetScriptModuleRevisionHash () const =0 |
Returns the git revision hash of the referenced script module. More... | |
virtual char const * | GetScriptModule () const =0 |
Returns the name of the referenced script module. More... | |
virtual boost::filesystem::path const & | GetModulePath () const =0 |
Returns the path to the script module. More... | |
Represents a strong reference to a dynamic library which provides C++ scripts. As long as one reference to the library exists the library is kept loaded in the server, which makes it possible to lazy unload several script types on demand (like SpellScripts), and to provide multiple versions of the same script to the script factories.
Acquire a new reference through using: ScriptReloadMgr::AcquireModuleReferenceOfContext
Definition at line 38 of file ScriptReloadMgr.h.
|
inlinevirtual |
Definition at line 41 of file ScriptReloadMgr.h.
|
pure virtual |
Returns the path to the script module.
|
pure virtual |
Returns the name of the referenced script module.
|
pure virtual |
Returns the git revision hash of the referenced script module.