Movement::MoveSplineInitArgs Struct Reference

#include <MoveSplineInitArgs.h>

Public Member Functions

 MoveSplineInitArgs (size_t path_capacity=16)
 MoveSplineInitArgs (MoveSplineInitArgs &&args) noexcept
 ~MoveSplineInitArgs ()
bool Validate (Unit *unit) const
 ============================================================================================ More...

Public Attributes

PointsArray path
FacingInfo facing
MoveSplineFlag flags
int32 path_Idx_offset
float velocity
float parabolic_amplitude
float vertical_acceleration
float effect_start_time_percent
Milliseconds effect_start_time
uint32 splineId
float initialOrientation
Optional< SpellEffectExtraDataspellEffectExtra
Optional< AnimTierTransitionanimTier
bool walk
bool HasVelocity
bool TransformForTransport

Private Member Functions

bool _checkPathLengths () const

Detailed Description

Definition at line 63 of file MoveSplineInitArgs.h.

Constructor & Destructor Documentation

◆ MoveSplineInitArgs() [1/2]

Movement::MoveSplineInitArgs::MoveSplineInitArgs ( size_t  path_capacity = 16)

Definition at line 275 of file MoveSpline.cpp.

◆ MoveSplineInitArgs() [2/2]

Movement::MoveSplineInitArgs::MoveSplineInitArgs ( MoveSplineInitArgs &&  args)

◆ ~MoveSplineInitArgs()

Movement::MoveSplineInitArgs::~MoveSplineInitArgs ( )

Member Function Documentation

◆ _checkPathLengths()

bool Movement::MoveSplineInitArgs::_checkPathLengths ( ) const

Definition at line 266 of file MoveSpline.cpp.

+ Here is the caller graph for this function:

◆ Validate()

bool Movement::MoveSplineInitArgs::Validate ( Unit unit) const


Returns true to show that the arguments were configured correctly and MoveSpline initialization will succeed.

Definition at line 241 of file MoveSpline.cpp.

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

Member Data Documentation

◆ animTier

Optional<AnimTierTransition> Movement::MoveSplineInitArgs::animTier

Definition at line 81 of file MoveSplineInitArgs.h.

◆ effect_start_time

Milliseconds Movement::MoveSplineInitArgs::effect_start_time

Definition at line 77 of file MoveSplineInitArgs.h.

◆ effect_start_time_percent

float Movement::MoveSplineInitArgs::effect_start_time_percent

Definition at line 76 of file MoveSplineInitArgs.h.

◆ facing

FacingInfo Movement::MoveSplineInitArgs::facing

Definition at line 70 of file MoveSplineInitArgs.h.

◆ flags

MoveSplineFlag Movement::MoveSplineInitArgs::flags

Definition at line 71 of file MoveSplineInitArgs.h.

◆ HasVelocity

bool Movement::MoveSplineInitArgs::HasVelocity

Definition at line 83 of file MoveSplineInitArgs.h.

◆ initialOrientation

float Movement::MoveSplineInitArgs::initialOrientation

Definition at line 79 of file MoveSplineInitArgs.h.

◆ parabolic_amplitude

float Movement::MoveSplineInitArgs::parabolic_amplitude

Definition at line 74 of file MoveSplineInitArgs.h.

◆ path

PointsArray Movement::MoveSplineInitArgs::path

Definition at line 69 of file MoveSplineInitArgs.h.

◆ path_Idx_offset

int32 Movement::MoveSplineInitArgs::path_Idx_offset

Definition at line 72 of file MoveSplineInitArgs.h.

◆ spellEffectExtra

Optional<SpellEffectExtraData> Movement::MoveSplineInitArgs::spellEffectExtra

Definition at line 80 of file MoveSplineInitArgs.h.

◆ splineId

uint32 Movement::MoveSplineInitArgs::splineId

Definition at line 78 of file MoveSplineInitArgs.h.

◆ TransformForTransport

bool Movement::MoveSplineInitArgs::TransformForTransport

Definition at line 84 of file MoveSplineInitArgs.h.

◆ velocity

float Movement::MoveSplineInitArgs::velocity

Definition at line 73 of file MoveSplineInitArgs.h.

◆ vertical_acceleration

float Movement::MoveSplineInitArgs::vertical_acceleration

Definition at line 75 of file MoveSplineInitArgs.h.

◆ walk

bool Movement::MoveSplineInitArgs::walk

Definition at line 82 of file MoveSplineInitArgs.h.

The documentation for this struct was generated from the following files: