aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptMgr.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-07-17 17:37:06 +0200
committerShauren <shauren.trinity@gmail.com>2016-07-17 17:37:06 +0200
commita9a13d10f7c510bb392539608cb276435a78b688 (patch)
tree6a2c89377eb8302baa8d98442379abf94bdf01dc /src/server/game/Scripting/ScriptMgr.h
parenta5f6a80f0cdbd2ce1db5ca32d24253c81bcbcf5e (diff)
parent201d09ec34edc697553d79eac4bf2f659308f495 (diff)
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.h')
-rw-r--r--src/server/game/Scripting/ScriptMgr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Scripting/ScriptMgr.h b/src/server/game/Scripting/ScriptMgr.h
index 9acfc28db9c..b3436c4773e 100644
--- a/src/server/game/Scripting/ScriptMgr.h
+++ b/src/server/game/Scripting/ScriptMgr.h
@@ -876,6 +876,9 @@ class TC_GAME_API ScriptMgr
/// calls for better performance (bulk changes).
void SwapScriptContext(bool initialize = false);
+ /// Returns the context name of the static context provided by the worldserver
+ static std::string const& GetNameOfStaticContext();
+
/// Acquires a strong module reference to the module containing the given script name,
/// which prevents the shared library which contains the script from unloading.
/// The shared library is lazy unloaded as soon as all references to it are released.