AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "TargetedMovementGenerator.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "MoveSplineInit.h"
#include "Pet.h"
#include "Player.h"
#include "Spell.h"
#include "Transport.h"
Go to the source code of this file.
Functions | |
static bool | IsMutualChase (Unit *owner, Unit *target) |
float | GetChaseRange (Unit const *owner, Unit const *target) |
static Optional< float > | GetVelocity (Unit *owner, Unit *target, G3D::Vector3 const &dest, bool playerPet) |
static Position const | PredictPosition (Unit *target) |
References Unit::GetCombatReach(), and Unit::GetHoverHeight().
Referenced by ChaseMovementGenerator< T >::DoUpdate().
|
static |
References Unit::GetCharmerOrOwnerGUID(), Unit::GetCritterGUID(), WorldObject::GetDistance2d(), Object::GetGUID(), WorldObject::GetObjectSize(), Unit::GetSpeed(), Unit::GetUnitMovementFlags(), Unit::HasUnitFlag(), Unit::IsGuardian(), Unit::IsInCombat(), Unit::IsPet(), Unit::IsVehicle(), Movement::MoveSpline::isWalking(), MOVEMENTFLAG_WALKING, Unit::movespline, Movement::SelectSpeedType(), and UNIT_FLAG_POSSESSED.
Referenced by FollowMovementGenerator< T >::DoUpdate().
References CHASE_MOTION_TYPE, MotionMaster::GetCurrentMovementGeneratorType(), Unit::GetMotionMaster(), and Unit::GetVictim().
Referenced by ChaseMovementGenerator< T >::DoUpdate().
References Position::GetOrientation(), Position::GetPosition(), Unit::GetSpeed(), Unit::GetUnitMovementFlags(), MovementInfo::HasMovementFlag(), WorldObject::m_movementInfo, Position::m_positionX, Position::m_positionY, MOVEMENTFLAG_BACKWARD, MOVEMENTFLAG_FORWARD, MOVEMENTFLAG_STRAFE_LEFT, MOVEMENTFLAG_STRAFE_RIGHT, and Movement::SelectSpeedType().
Referenced by FollowMovementGenerator< T >::DoUpdate().