AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "MoveSplineInitArgs.h"
Public Member Functions | |
MoveSplineInitArgs (std::size_t path_capacity=16) | |
bool | Validate (Unit *unit) const |
============================================================================================ More... | |
Public Attributes | |
PointsArray | path |
FacingInfo | facing |
MoveSplineFlag | flags |
int32 | path_Idx_offset {0} |
float | velocity {0.f} |
float | parabolic_amplitude {0.f} |
float | time_perc {0.f} |
uint32 | splineId {0} |
float | initialOrientation {0.f} |
bool | HasVelocity {false} |
bool | TransformForTransport {true} |
Private Member Functions | |
bool | _checkPathBounds () const |
|
inline |
|
private |
References flags, LOG_ERROR, Movement::MoveSplineFlag::Mask_CatmullRom, and path.
bool Movement::MoveSplineInitArgs::Validate | ( | Unit * | unit | ) | const |
============================================================================================
Returns true to show that the arguments were configured correctly and MoveSpline initialization will succeed.
References CHECK, path, time_perc, and velocity.
Referenced by Movement::MoveSplineInit::Launch().
FacingInfo Movement::MoveSplineInitArgs::facing |
Referenced by Movement::MoveSpline::Initialize(), and Movement::MoveSplineInit::SetFacing().
MoveSplineFlag Movement::MoveSplineInitArgs::flags |
Referenced by _checkPathBounds(), Movement::MoveSpline::init_spline(), Movement::MoveSpline::Initialize(), Movement::MoveSplineInit::Launch(), Movement::MoveSplineInit::MoveSplineInit(), Movement::MoveSplineInit::SetAnimation(), Movement::MoveSplineInit::SetCyclic(), Movement::MoveSplineInit::SetFacing(), Movement::MoveSplineInit::SetFall(), Movement::MoveSplineInit::SetFly(), Movement::MoveSplineInit::SetOrientationFixed(), Movement::MoveSplineInit::SetOrientationInversed(), Movement::MoveSplineInit::SetParabolic(), Movement::MoveSplineInit::SetSmooth(), Movement::MoveSplineInit::SetTransportEnter(), Movement::MoveSplineInit::SetTransportExit(), Movement::MoveSplineInit::SetWalk(), and Movement::MoveSplineInit::Stop().
bool Movement::MoveSplineInitArgs::HasVelocity {false} |
Referenced by Movement::MoveSplineInit::Launch(), and Movement::MoveSplineInit::SetVelocity().
float Movement::MoveSplineInitArgs::initialOrientation {0.f} |
Referenced by Movement::MoveSpline::Initialize(), and Movement::MoveSplineInit::Launch().
float Movement::MoveSplineInitArgs::parabolic_amplitude {0.f} |
Referenced by Movement::MoveSpline::Initialize(), and Movement::MoveSplineInit::SetParabolic().
PointsArray Movement::MoveSplineInitArgs::path |
int32 Movement::MoveSplineInitArgs::path_Idx_offset {0} |
uint32 Movement::MoveSplineInitArgs::splineId {0} |
float Movement::MoveSplineInitArgs::time_perc {0.f} |
bool Movement::MoveSplineInitArgs::TransformForTransport {true} |
float Movement::MoveSplineInitArgs::velocity {0.f} |