#include <ScriptReloadMgr.h>
|
| virtual | ~ModuleReference ()=default |
| |
| virtual char const * | GetScriptModuleRevisionHash () const =0 |
| | Returns the git revision hash of the referenced script module.
|
| |
| virtual char const * | GetScriptModule () const =0 |
| | Returns the name of the referenced script module.
|
| |
| virtual boost::filesystem::path const & | GetModulePath () const =0 |
| | Returns the path to the script module.
|
| |
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.
◆ ~ModuleReference()
| virtual ModuleReference::~ModuleReference |
( |
| ) |
|
|
virtualdefault |
◆ GetModulePath()
| virtual boost::filesystem::path const & ModuleReference::GetModulePath |
( |
| ) |
const |
|
pure virtual |
Returns the path to the script module.
◆ GetScriptModule()
| virtual char const * ModuleReference::GetScriptModule |
( |
| ) |
const |
|
pure virtual |
Returns the name of the referenced script module.
◆ GetScriptModuleRevisionHash()
| virtual char const * ModuleReference::GetScriptModuleRevisionHash |
( |
| ) |
const |
|
pure virtual |
Returns the git revision hash of the referenced script module.
The documentation for this class was generated from the following file: