mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +00:00
refactor(src/server/game/AI): remove unused imports (#20095)
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#include "GameObject.h"
|
||||
#include "Object.h"
|
||||
#include "QuestDef.h"
|
||||
#include <list>
|
||||
|
||||
class Creature;
|
||||
class GameObject;
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "PassiveAI.h"
|
||||
#include "Creature.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
PassiveAI::PassiveAI(Creature* c) : CreatureAI(c) { me->SetReactState(REACT_PASSIVE); }
|
||||
PossessedAI::PossessedAI(Creature* c) : CreatureAI(c) { me->SetReactState(REACT_PASSIVE); }
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "ReactorAI.h"
|
||||
#include "CreatureAIImpl.h"
|
||||
#include "Errors.h"
|
||||
|
||||
int32 ReactorAI::Permissible(Creature const* creature)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#define ACORE_TOTEMAI_H
|
||||
|
||||
#include "CreatureAI.h"
|
||||
#include "Timer.h"
|
||||
|
||||
class Creature;
|
||||
class Totem;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#define ACORE_CREATUREAI_H
|
||||
|
||||
#include "AreaBoundary.h"
|
||||
#include "Common.h"
|
||||
#include "Creature.h"
|
||||
#include "EventMap.h"
|
||||
#include "TaskScheduler.h"
|
||||
|
||||
@@ -18,13 +18,10 @@
|
||||
#ifndef CREATUREAIIMPL_H
|
||||
#define CREATUREAIIMPL_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "CreatureAI.h"
|
||||
#include "Define.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "TemporarySummon.h"
|
||||
#include <functional>
|
||||
#include <type_traits>
|
||||
|
||||
template<typename First, typename Second, typename... Rest>
|
||||
static inline First const& RAND(First const& first, Second const& second, Rest const& ... rest)
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include "FactoryHolder.h"
|
||||
#include "GameObjectAI.h"
|
||||
#include "ObjectRegistry.h"
|
||||
|
||||
typedef FactoryHolder<GameObjectAI, GameObject> GameObjectAICreator;
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#ifndef ACORE_SMARTAI_H
|
||||
#define ACORE_SMARTAI_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "Creature.h"
|
||||
#include "CreatureAI.h"
|
||||
#include "GameObjectAI.h"
|
||||
|
||||
Reference in New Issue
Block a user