TrinityCore
SmartAI.h File Reference
#include "Define.h"
#include "AreaTriggerAI.h"
#include "CreatureAI.h"
#include "GameObjectAI.h"
#include "SmartScript.h"
#include "WaypointDefines.h"
+ Include dependency graph for SmartAI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SmartAI
 
class  SmartGameObjectAI
 
class  SmartAreaTriggerAI
 

Enumerations

enum  SmartEscortState : uint8 { SMART_ESCORT_NONE = 0x00 , SMART_ESCORT_ESCORTING = 0x01 , SMART_ESCORT_RETURNING = 0x02 , SMART_ESCORT_PAUSED = 0x04 }
 

Functions

void AddSC_SmartScripts ()
 Registers scripts required by the SAI scripting system. More...
 

Variables

static float constexpr SMART_ESCORT_MAX_PLAYER_DIST = 60.f
 
static float constexpr SMART_MAX_AID_DIST = SMART_ESCORT_MAX_PLAYER_DIST / 2.f
 

Enumeration Type Documentation

◆ SmartEscortState

Enumerator
SMART_ESCORT_NONE 
SMART_ESCORT_ESCORTING 
SMART_ESCORT_RETURNING 
SMART_ESCORT_PAUSED 

Definition at line 28 of file SmartAI.h.

Function Documentation

◆ AddSC_SmartScripts()

void AddSC_SmartScripts ( )

Registers scripts required by the SAI scripting system.

Definition at line 1252 of file SmartAI.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ SMART_ESCORT_MAX_PLAYER_DIST

float constexpr SMART_ESCORT_MAX_PLAYER_DIST = 60.f
staticconstexpr

Definition at line 36 of file SmartAI.h.

◆ SMART_MAX_AID_DIST

float constexpr SMART_MAX_AID_DIST = SMART_ESCORT_MAX_PLAYER_DIST / 2.f
staticconstexpr

Definition at line 37 of file SmartAI.h.