TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SmartAI.h File Reference
#include "Common.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "Unit.h"
#include "Spell.h"
#include "SmartScript.h"
#include "SmartScriptMgr.h"
#include "GameObjectAI.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
 

Enumerations

enum  SmartEscortState { SMART_ESCORT_NONE = 0x000, SMART_ESCORT_ESCORTING = 0x001, SMART_ESCORT_RETURNING = 0x002, SMART_ESCORT_PAUSED = 0x004 }
 
enum  SmartEscortVars { SMART_ESCORT_MAX_PLAYER_DIST = 50, SMART_MAX_AID_DIST = SMART_ESCORT_MAX_PLAYER_DIST / 2 }
 

Functions

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

Enumeration Type Documentation

Enumerator
SMART_ESCORT_NONE 
SMART_ESCORT_ESCORTING 
SMART_ESCORT_RETURNING 
SMART_ESCORT_PAUSED 
32 {
33  SMART_ESCORT_NONE = 0x000, //nothing in progress
34  SMART_ESCORT_ESCORTING = 0x001, //escort is in progress
35  SMART_ESCORT_RETURNING = 0x002, //escort is returning after being in combat
36  SMART_ESCORT_PAUSED = 0x004 //will not proceed with waypoints before state is removed
37 };
Definition: SmartAI.h:35
Definition: SmartAI.h:33
Definition: SmartAI.h:36
Definition: SmartAI.h:34
Enumerator
SMART_ESCORT_MAX_PLAYER_DIST 
SMART_MAX_AID_DIST 
40 {
43 };
Definition: SmartAI.h:41
Definition: SmartAI.h:42

Function Documentation

void AddSC_SmartScripts ( )

Registers scripts required by the SAI scripting system.

927 {
928  new SmartTrigger();
929 }
Definition: SmartAI.cpp:907

+ Here is the caller graph for this function: