TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CreatureAI.h File Reference
#include "Creature.h"
#include "UnitAI.h"
#include "AreaBoundary.h"
#include "Common.h"
+ Include dependency graph for CreatureAI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CreatureAI
 

Macros

#define TIME_INTERVAL_LOOK   5000
 
#define VISIBILITY_RANGE   10000
 

Typedefs

typedef std::set< AreaBoundary
const * > 
CreatureBoundary
 

Enumerations

enum  SelectTargetType {
  SELECT_TARGET_DONTCARE = 0, SELECT_TARGET_SELF, SELECT_TARGET_SINGLE_ENEMY, SELECT_TARGET_AOE_ENEMY,
  SELECT_TARGET_ANY_ENEMY, SELECT_TARGET_SINGLE_FRIEND, SELECT_TARGET_AOE_FRIEND, SELECT_TARGET_ANY_FRIEND
}
 
enum  SelectEffect { SELECT_EFFECT_DONTCARE = 0, SELECT_EFFECT_DAMAGE, SELECT_EFFECT_HEALING, SELECT_EFFECT_AURA }
 
enum  SCEquip { EQUIP_NO_CHANGE = -1, EQUIP_UNEQUIP = 0 }
 
enum  Permitions {
  PERMIT_BASE_NO = -1, PERMIT_BASE_IDLE = 1, PERMIT_BASE_REACTIVE = 100, PERMIT_BASE_PROACTIVE = 200,
  PERMIT_BASE_FACTION_SPECIFIC = 400, PERMIT_BASE_SPECIAL = 800
}
 

Macro Definition Documentation

#define TIME_INTERVAL_LOOK   5000
#define VISIBILITY_RANGE   10000

Typedef Documentation

typedef std::set<AreaBoundary const*> CreatureBoundary

Enumeration Type Documentation

enum Permitions
Enumerator
PERMIT_BASE_NO 
PERMIT_BASE_IDLE 
PERMIT_BASE_REACTIVE 
PERMIT_BASE_PROACTIVE 
PERMIT_BASE_FACTION_SPECIFIC 
PERMIT_BASE_SPECIAL 
206 {
207  PERMIT_BASE_NO = -1,
208  PERMIT_BASE_IDLE = 1,
209  PERMIT_BASE_REACTIVE = 100,
210  PERMIT_BASE_PROACTIVE = 200,
212  PERMIT_BASE_SPECIAL = 800
213 };
Definition: CreatureAI.h:207
Definition: CreatureAI.h:209
Definition: CreatureAI.h:210
Definition: CreatureAI.h:212
Definition: CreatureAI.h:208
Definition: CreatureAI.h:211
enum SCEquip
Enumerator
EQUIP_NO_CHANGE 
EQUIP_UNEQUIP 
62 {
63  EQUIP_NO_CHANGE = -1,
64  EQUIP_UNEQUIP = 0
65 };
Definition: CreatureAI.h:63
Definition: CreatureAI.h:64
Enumerator
SELECT_EFFECT_DONTCARE 
SELECT_EFFECT_DAMAGE 
SELECT_EFFECT_HEALING 
SELECT_EFFECT_AURA 
54 {
55  SELECT_EFFECT_DONTCARE = 0, //All spell effects allowed
56  SELECT_EFFECT_DAMAGE, //Spell does damage
57  SELECT_EFFECT_HEALING, //Spell does healing
58  SELECT_EFFECT_AURA //Spell applies an aura
59 };
Definition: CreatureAI.h:55
Definition: CreatureAI.h:56
Definition: CreatureAI.h:57
Definition: CreatureAI.h:58
Enumerator
SELECT_TARGET_DONTCARE 
SELECT_TARGET_SELF 
SELECT_TARGET_SINGLE_ENEMY 
SELECT_TARGET_AOE_ENEMY 
SELECT_TARGET_ANY_ENEMY 
SELECT_TARGET_SINGLE_FRIEND 
SELECT_TARGET_AOE_FRIEND 
SELECT_TARGET_ANY_FRIEND 
38 {
39  SELECT_TARGET_DONTCARE = 0, //All target types allowed
40 
41  SELECT_TARGET_SELF, //Only Self casting
42 
43  SELECT_TARGET_SINGLE_ENEMY, //Only Single Enemy
44  SELECT_TARGET_AOE_ENEMY, //Only AoE Enemy
45  SELECT_TARGET_ANY_ENEMY, //AoE or Single Enemy
46 
47  SELECT_TARGET_SINGLE_FRIEND, //Only Single Friend
48  SELECT_TARGET_AOE_FRIEND, //Only AoE Friend
49  SELECT_TARGET_ANY_FRIEND //AoE or Single Friend
50 };
Definition: CreatureAI.h:48
Definition: CreatureAI.h:47
Definition: CreatureAI.h:45
Definition: CreatureAI.h:44
Definition: CreatureAI.h:39
Definition: CreatureAI.h:49
Definition: CreatureAI.h:43
Definition: CreatureAI.h:41