mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 11:33:48 +00:00
refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
@@ -188,13 +188,13 @@ MapEntry const* InstanceSave::GetMapEntry()
|
||||
|
||||
void InstanceSave::AddPlayer(uint32 guidLow)
|
||||
{
|
||||
TRINITY_GUARD(ACE_Thread_Mutex, _lock);
|
||||
ACORE_GUARD(ACE_Thread_Mutex, _lock);
|
||||
m_playerList.push_back(guidLow);
|
||||
}
|
||||
|
||||
bool InstanceSave::RemovePlayer(uint32 guidLow, InstanceSaveManager* ism)
|
||||
{
|
||||
TRINITY_GUARD(ACE_Thread_Mutex, _lock);
|
||||
ACORE_GUARD(ACE_Thread_Mutex, _lock);
|
||||
m_playerList.remove(guidLow);
|
||||
|
||||
// ism passed as an argument to avoid calling via singleton (might result in a deadlock)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
|
||||
*/
|
||||
|
||||
#ifndef TRINITY_INSTANCE_DATA_H
|
||||
#define TRINITY_INSTANCE_DATA_H
|
||||
#ifndef ACORE_INSTANCE_DATA_H
|
||||
#define ACORE_INSTANCE_DATA_H
|
||||
|
||||
#include "ZoneScript.h"
|
||||
#include "World.h"
|
||||
|
||||
Reference in New Issue
Block a user