TrinityCore
ChaseMovementGenerator.cpp File Reference
#include "ChaseMovementGenerator.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "G3DPosition.hpp"
#include "MotionMaster.h"
#include "MoveSpline.h"
#include "MoveSplineInit.h"
#include "PathGenerator.h"
#include "Unit.h"
#include "Util.h"
+ Include dependency graph for ChaseMovementGenerator.cpp:

Go to the source code of this file.

Functions

static bool HasLostTarget (Unit *owner, Unit *target)
 
static bool IsMutualChase (Unit *owner, Unit *target)
 
static bool PositionOkay (Unit *owner, Unit *target, Optional< float > minDistance, Optional< float > maxDistance, Optional< ChaseAngle > angle)
 
static void DoMovementInform (Unit *owner, Unit *target)
 

Function Documentation

◆ DoMovementInform()

static void DoMovementInform ( Unit owner,
Unit target 
)
static

Definition at line 59 of file ChaseMovementGenerator.cpp.

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

◆ HasLostTarget()

static bool HasLostTarget ( Unit owner,
Unit target 
)
static

Definition at line 29 of file ChaseMovementGenerator.cpp.

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

◆ IsMutualChase()

static bool IsMutualChase ( Unit owner,
Unit target 
)
static

Definition at line 34 of file ChaseMovementGenerator.cpp.

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

◆ PositionOkay()

static bool PositionOkay ( Unit owner,
Unit target,
Optional< float >  minDistance,
Optional< float >  maxDistance,
Optional< ChaseAngle angle 
)
static

Definition at line 45 of file ChaseMovementGenerator.cpp.

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