feat(Core/Misc): remove and replace ACE_Singleton (#2418)
This commit is contained in:
parent
16b45bf334
commit
4a8f1de538
88 changed files with 486 additions and 250 deletions
|
|
@ -20,6 +20,12 @@
|
|||
|
||||
#include "SmartScriptMgr.h"
|
||||
|
||||
SmartWaypointMgr* SmartWaypointMgr::instance()
|
||||
{
|
||||
static SmartWaypointMgr instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void SmartWaypointMgr::LoadFromDB()
|
||||
{
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
|
@ -92,6 +98,12 @@ SmartWaypointMgr::~SmartWaypointMgr()
|
|||
}
|
||||
}
|
||||
|
||||
SmartAIMgr* SmartAIMgr::instance()
|
||||
{
|
||||
static SmartAIMgr instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void SmartAIMgr::LoadSmartAIFromDB()
|
||||
{
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue