![]() |
TrinityCore
|
#include "Errors.h"#include "EventMap.h"#include "ObjectGuid.h"#include "SharedDefines.h"#include "SpellDefines.h"
Include dependency graph for UnitAI.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | DefaultTargetSelector |
| struct | SpellTargetSelector |
| struct | NonTankTargetSelector |
| struct | PowerUsersSelector |
| struct | FarthestTargetSelector |
| class | UnitAI |
Macros | |
| #define | CAST_AI(a, b) (dynamic_cast<a*>(b)) |
| #define | ENSURE_AI(a, b) (EnsureAI<a>(b)) |
Enumerations | |
| enum class | SelectTargetMethod { Random , MaxThreat , MinThreat , MaxDistance , MinDistance } |
Functions | |
| template<class T , class U > | |
| T * | EnsureAI (U *ai) |
|
strong |