refactor(Core): Rename ...Manager to ...Mgr (#6910)

* Rename MapManager.h to MapMgr.h

* Rename BanManager.h to BanMgr.h

* Rename MapManager.cpp to MapMgr.cpp

* Rename BanManager.cpp to BanMgr.cpp

* Rename MapRefManager.h to MapRefMgr.h

* Rename ThreatManager.h to ThreatMgr.h

* Rename GridRefManager.h to GridRefMgr.h

* Rename ThreatManager.cpp to ThreatMgr.cpp

* Rename GroupRefManager.h to GroupRefMgr.h

* Rename HostileRefManager.h to HostileRefMgr.h

* Rename HostileRefManager.cpp to HostileRefMgr.cpp

* Rename MMapManager.h to MMapMgr.h

* Rename FollowerRefManager.h to FollowerRefMgr.h

* Rename VMapManager2.h to VMapMgr2.h

* Rename IVMapManager.h to IVMapMgr.h

* Rename MMapManager.cpp to MMapMgr.cpp

* Rename VMapManager2.cpp to VMapMgr2.cpp

* Rename RefManager.h to RefMgr.h

* Rename WaypointManager.h to WaypointMgr.h

* Rename WaypointManager.cpp to WaypointMgr.cpp

* Rename MPQManager.h to MPQMgr.h

* Rename MPQManager.cpp to MPQMgr.cpp

* Rename IMMAPManager.h to IMMAPMgr.h

* fix build

* Update Main.cpp

* chore(Core/Misc): Remove toxic language

* Revert "chore(Core/Misc): Remove toxic language"

* fix build

* build
This commit is contained in:
Kitzunu
2021-09-15 17:50:28 +02:00
committed by GitHub
parent 7e2aa2402f
commit 2f449326e0
187 changed files with 719 additions and 719 deletions
+8 -8
View File
@@ -21,7 +21,7 @@ struct InstanceTemplate;
struct MapEntry;
class Player;
class Group;
class InstanceSaveManager;
class InstanceSaveMgr;
class InstanceSave;
struct InstancePlayerBind
@@ -43,7 +43,7 @@ typedef std::unordered_map<ObjectGuid /*guid*/, BoundInstancesMapWrapper* > Play
class InstanceSave
{
friend class InstanceSaveManager;
friend class InstanceSaveMgr;
public:
InstanceSave(uint16 MapId, uint32 InstanceId, Difficulty difficulty, time_t resetTime, time_t extendedResetTime);
~InstanceSave();
@@ -74,7 +74,7 @@ public:
MapEntry const* GetMapEntry();
void AddPlayer(ObjectGuid guid);
bool RemovePlayer(ObjectGuid guid, InstanceSaveManager* ism);
bool RemovePlayer(ObjectGuid guid, InstanceSaveMgr* ism);
private:
GuidList m_playerList;
@@ -92,16 +92,16 @@ private:
typedef std::unordered_map<uint32 /*PAIR32(map, difficulty)*/, time_t /*resetTime*/> ResetTimeByMapDifficultyMap;
class InstanceSaveManager
class InstanceSaveMgr
{
friend class InstanceSave;
private:
InstanceSaveManager() {};
~InstanceSaveManager();
InstanceSaveMgr() {};
~InstanceSaveMgr();
public:
static InstanceSaveManager* instance();
static InstanceSaveMgr* instance();
typedef std::unordered_map<uint32 /*InstanceId*/, InstanceSave*> InstanceSaveHashMap;
@@ -186,6 +186,6 @@ private:
ResetTimeQueue m_resetTimeQueue;
};
#define sInstanceSaveMgr InstanceSaveManager::instance()
#define sInstanceSaveMgr InstanceSaveMgr::instance()
#endif