[3.3.5] Scripts/Commands: .arena command conversion (PR #25407)

This commit is contained in:
Treeston
2020-09-06 23:36:23 +02:00
committed by GitHub
parent 67b112f8a4
commit b63d655e20
11 changed files with 311 additions and 223 deletions

View File

@@ -31,8 +31,11 @@
#include "Realm.h"
#include "ScriptMgr.h"
#include "World.h"
#include "WorldSession.h"
#include <boost/algorithm/string/replace.hpp>
Player* ChatHandler::GetPlayer() { return m_session ? m_session->GetPlayer() : nullptr; }
// Lazy loading of the command table cache from commands and the
// ScriptMgr should be thread safe since the player commands,
// cli commands and ScriptMgr updates are all dispatched one after