diff options
| author | Naios <naios-dev@live.de> | 2016-03-11 17:09:26 +0100 |
|---|---|---|
| committer | Naios <naios-dev@live.de> | 2016-04-11 21:14:00 +0200 |
| commit | 9cc97f226d79e8e0bbe1fdc386ec9f065c0a2226 (patch) | |
| tree | 9a08ab0926432f1be8fad2da5152bd51a3dd64a8 /src/server/game/DungeonFinding/LFGScripts.cpp | |
| parent | bc0f2b6e5acd24f414508edb3b826a20a12bce62 (diff) | |
Core/Game: Rewrote the ScriptMgr to support script reloading.
* Finally this commit enables dynamic script hotswapping
and finished the PR #15671.
* Split the storage layout to use optimized storages
for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
-> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable
Diffstat (limited to 'src/server/game/DungeonFinding/LFGScripts.cpp')
| -rw-r--r-- | src/server/game/DungeonFinding/LFGScripts.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/DungeonFinding/LFGScripts.cpp b/src/server/game/DungeonFinding/LFGScripts.cpp index 6e34af3f19b..da1a34f2da8 100644 --- a/src/server/game/DungeonFinding/LFGScripts.cpp +++ b/src/server/game/DungeonFinding/LFGScripts.cpp @@ -241,4 +241,10 @@ void LFGGroupScript::OnInviteMember(Group* group, ObjectGuid guid) sLFGMgr->LeaveLfg(leader); } +void AddSC_LFGScripts() +{ + new LFGPlayerScript(); + new LFGGroupScript(); +} + } // namespace lfg |
