mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
feat(Core/AI): Add built-in TaskScheduler to CreatureAI (#17700)
* Add TaskScheduler to CreatureAI * Code style, because of course.
This commit is contained in:
@@ -21,8 +21,9 @@
|
||||
#include "AreaBoundary.h"
|
||||
#include "Common.h"
|
||||
#include "Creature.h"
|
||||
#include "UnitAI.h"
|
||||
#include "EventMap.h"
|
||||
#include "TaskScheduler.h"
|
||||
#include "UnitAI.h"
|
||||
|
||||
class WorldObject;
|
||||
class Unit;
|
||||
@@ -72,6 +73,7 @@ protected:
|
||||
Creature* const me;
|
||||
|
||||
EventMap events;
|
||||
TaskScheduler scheduler;
|
||||
|
||||
bool UpdateVictim();
|
||||
bool UpdateVictimWithGaze();
|
||||
|
||||
@@ -494,9 +494,7 @@ protected:
|
||||
|
||||
void TeleportCheaters();
|
||||
|
||||
EventMap events;
|
||||
SummonList summons;
|
||||
TaskScheduler scheduler;
|
||||
|
||||
private:
|
||||
uint32 const _bossId;
|
||||
|
||||
Reference in New Issue
Block a user