AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SmartAI.h File Reference
#include "Creature.h"
#include "CreatureAI.h"
#include "GameObjectAI.h"
#include "SmartScript.h"
#include "SmartScriptMgr.h"
#include "Spell.h"
#include "Unit.h"

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 = 60 ,
  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

◆ SmartEscortState

Enumerator
SMART_ESCORT_NONE 
SMART_ESCORT_ESCORTING 
SMART_ESCORT_RETURNING 
SMART_ESCORT_PAUSED 
30{
31 SMART_ESCORT_NONE = 0x000, //nothing in progress
32 SMART_ESCORT_ESCORTING = 0x001, //escort is in progress
33 SMART_ESCORT_RETURNING = 0x002, //escort is returning after being in combat
34 SMART_ESCORT_PAUSED = 0x004 //will not proceed with waypoints before state is removed
35};
@ SMART_ESCORT_ESCORTING
Definition: SmartAI.h:32
@ SMART_ESCORT_PAUSED
Definition: SmartAI.h:34
@ SMART_ESCORT_RETURNING
Definition: SmartAI.h:33
@ SMART_ESCORT_NONE
Definition: SmartAI.h:31

◆ SmartEscortVars

Enumerator
SMART_ESCORT_MAX_PLAYER_DIST 
SMART_MAX_AID_DIST 
38{
41};
@ SMART_ESCORT_MAX_PLAYER_DIST
Definition: SmartAI.h:39
@ SMART_MAX_AID_DIST
Definition: SmartAI.h:40

Function Documentation

◆ AddSC_SmartScripts()

void AddSC_SmartScripts ( )

Registers scripts required by the SAI scripting system.

1319{
1320 new SmartTrigger();
1321}
Definition: SmartAI.cpp:1301

Referenced by ScriptMgr::Initialize().