AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SmartAI.h File Reference
#include "Common.h"
#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.
 

Enumeration Type Documentation

◆ SmartEscortState

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

◆ SmartEscortVars

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

Function Documentation

◆ AddSC_SmartScripts()

void AddSC_SmartScripts ( )

Registers scripts required by the SAI scripting system.

1264{
1265 new SmartTrigger();
1266}
Definition: SmartAI.cpp:1246

Referenced by ScriptMgr::Initialize().