TrinityCore
CreatureAI.cpp File Reference
#include "CreatureAI.h"
#include "AreaBoundary.h"
#include "Containers.h"
#include "Creature.h"
#include "CreatureAIImpl.h"
#include "CreatureTextMgr.h"
#include "DB2Structure.h"
#include "Errors.h"
#include "Language.h"
#include "Log.h"
#include "Map.h"
#include "MapReference.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "SmartEnum.h"
#include "SpellHistory.h"
#include "TemporarySummon.h"
#include "Vehicle.h"
#include <queue>
+ Include dependency graph for CreatureAI.cpp:

Go to the source code of this file.

Functions

AISpellInfoTypeGetAISpellInfo (uint32 spellId, Difficulty difficulty)
 
static bool ShouldFollowOnSpawn (SummonPropertiesEntry const *properties)
 

Variables

const uint32 BOUNDARY_VISUALIZE_CREATURE = 15425
 
const float BOUNDARY_VISUALIZE_CREATURE_SCALE = 0.25f
 
const int8 BOUNDARY_VISUALIZE_STEP_SIZE = 1
 
const int32 BOUNDARY_VISUALIZE_FAILSAFE_LIMIT = 750
 
const float BOUNDARY_VISUALIZE_SPAWN_HEIGHT = 5.0f
 

Function Documentation

◆ GetAISpellInfo()

AISpellInfoType * GetAISpellInfo ( uint32  spellId,
Difficulty  difficulty 
)

Definition at line 40 of file CreatureAI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShouldFollowOnSpawn()

static bool ShouldFollowOnSpawn ( SummonPropertiesEntry const *  properties)
static

Definition at line 163 of file CreatureAI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ BOUNDARY_VISUALIZE_CREATURE

const uint32 BOUNDARY_VISUALIZE_CREATURE = 15425

Definition at line 348 of file CreatureAI.cpp.

◆ BOUNDARY_VISUALIZE_CREATURE_SCALE

const float BOUNDARY_VISUALIZE_CREATURE_SCALE = 0.25f

Definition at line 349 of file CreatureAI.cpp.

◆ BOUNDARY_VISUALIZE_FAILSAFE_LIMIT

const int32 BOUNDARY_VISUALIZE_FAILSAFE_LIMIT = 750

Definition at line 351 of file CreatureAI.cpp.

◆ BOUNDARY_VISUALIZE_SPAWN_HEIGHT

const float BOUNDARY_VISUALIZE_SPAWN_HEIGHT = 5.0f

Definition at line 352 of file CreatureAI.cpp.

◆ BOUNDARY_VISUALIZE_STEP_SIZE

const int8 BOUNDARY_VISUALIZE_STEP_SIZE = 1

Definition at line 350 of file CreatureAI.cpp.