#include "Random.h"
#include <type_traits>
#include <functional>
Go to the source code of this file.
|
enum | AITarget {
AITARGET_SELF
, AITARGET_VICTIM
, AITARGET_ENEMY
, AITARGET_ALLY
,
AITARGET_BUFF
, AITARGET_DEBUFF
} |
|
enum | AICondition { AICOND_AGGRO
, AICOND_COMBAT
, AICOND_DIE
} |
|
enum | SelectTargetType : uint8 {
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 : uint8 { SELECT_EFFECT_DONTCARE = 0
, SELECT_EFFECT_DAMAGE
, SELECT_EFFECT_HEALING
, SELECT_EFFECT_AURA
} |
|
◆ AI_DEFAULT_COOLDOWN
#define AI_DEFAULT_COOLDOWN 5000 |
◆ AICondition
Enumerator |
---|
AICOND_AGGRO | |
AICOND_COMBAT | |
AICOND_DIE | |
Definition at line 44 of file CreatureAIImpl.h.
◆ AITarget
Enumerator |
---|
AITARGET_SELF | |
AITARGET_VICTIM | |
AITARGET_ENEMY | |
AITARGET_ALLY | |
AITARGET_BUFF | |
AITARGET_DEBUFF | |
Definition at line 34 of file CreatureAIImpl.h.
◆ SelectEffect
Enumerator |
---|
SELECT_EFFECT_DONTCARE | |
SELECT_EFFECT_DAMAGE | |
SELECT_EFFECT_HEALING | |
SELECT_EFFECT_AURA | |
Definition at line 67 of file CreatureAIImpl.h.
◆ SelectTargetType
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 | |
Definition at line 54 of file CreatureAIImpl.h.
◆ GetAISpellInfo()
◆ GetInstanceAI()
template<class AI , class T >
AI * GetInstanceAI |
( |
T * |
obj, |
|
|
char const * |
scriptName |
|
) |
| |
◆ InstanceHasScript()
◆ RAND()
template<typename First , typename Second , typename... Rest>
First const & RAND |
( |
First const & |
first, |
|
|
Second const & |
second, |
|
|
Rest const &... |
rest |
|
) |
| |
|
inline |