TrinityCore
Movement::MoveSplineInit Class Reference

#include <MoveSplineInit.h>

Public Member Functions

 MoveSplineInit (Unit *m)
 
 ~MoveSplineInit ()
 
 MoveSplineInit (MoveSplineInit const &)=delete
 
MoveSplineInitoperator= (MoveSplineInit const &)=delete
 
 MoveSplineInit (MoveSplineInit &&init)=delete
 
MoveSplineInitoperator= (MoveSplineInit &&)=delete
 
int32 Launch ()
 
void Stop ()
 
void SetParabolic (float amplitude, float start_time)
 
void SetParabolicVerticalAcceleration (float vertical_acceleration, float time_shift)
 
void SetAnimation (AnimTier anim, uint32 tierTransitionId=0, Milliseconds transitionStartTime=0ms)
 
void SetFacing (float angle)
 
void SetFacing (Vector3 const &point)
 
void SetFacing (float x, float y, float z)
 
void SetFacing (Unit const *target)
 
void MovebyPath (PointsArray const &path, int32 pointId=0)
 
void MoveTo (Vector3 const &destination, bool generatePath=true, bool forceDestination=false)
 
void MoveTo (float x, float y, float z, bool generatePath=true, bool forceDestination=false)
 
void SetFirstPointId (int32 pointId)
 
void SetSmooth ()
 
void SetUncompressed ()
 
void SetFly ()
 
void SetWalk (bool enable)
 
void SetCyclic ()
 
void SetFall ()
 
void SetTransportEnter ()
 
void SetTransportExit ()
 
void SetBackward ()
 
void SetOrientationFixed (bool enable)
 
void SetJumpOrientationFixed (bool enable)
 
void SetSteering ()
 
void SetUnlimitedSpeed ()
 
void SetVelocity (float velocity)
 
void SetSpellEffectExtraData (SpellEffectExtraData const &spellEffectExtraData)
 
PointsArrayPath ()
 
void DisableTransportPathTransformations ()
 

Protected Attributes

MoveSplineInitArgs args
 
Unitunit
 

Detailed Description

Definition at line 48 of file MoveSplineInit.h.

Constructor & Destructor Documentation

◆ MoveSplineInit() [1/3]

Movement::MoveSplineInit::MoveSplineInit ( Unit m)
explicit

Definition at line 198 of file MoveSplineInit.cpp.

+ Here is the call graph for this function:

◆ ~MoveSplineInit()

Movement::MoveSplineInit::~MoveSplineInit ( )
default

◆ MoveSplineInit() [2/3]

Movement::MoveSplineInit::MoveSplineInit ( MoveSplineInit const &  )
delete

◆ MoveSplineInit() [3/3]

Movement::MoveSplineInit::MoveSplineInit ( MoveSplineInit &&  init)
delete

Member Function Documentation

◆ DisableTransportPathTransformations()

void Movement::MoveSplineInit::DisableTransportPathTransformations ( )
inline

Definition at line 226 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ Launch()

int32 Movement::MoveSplineInit::Launch ( )

Definition at line 57 of file MoveSplineInit.cpp.

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

◆ MovebyPath()

void Movement::MoveSplineInit::MovebyPath ( PointsArray const &  path,
int32  pointId = 0 
)

Definition at line 249 of file MoveSplineInit.cpp.

+ Here is the caller graph for this function:

◆ MoveTo() [1/2]

void Movement::MoveSplineInit::MoveTo ( float  x,
float  y,
float  z,
bool  generatePath = true,
bool  forceDestination = false 
)

Definition at line 256 of file MoveSplineInit.cpp.

+ Here is the call graph for this function:

◆ MoveTo() [2/2]

void Movement::MoveSplineInit::MoveTo ( Vector3 const &  destination,
bool  generatePath = true,
bool  forceDestination = false 
)

Definition at line 261 of file MoveSplineInit.cpp.

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

◆ operator=() [1/2]

MoveSplineInit & Movement::MoveSplineInit::operator= ( MoveSplineInit &&  )
delete

◆ operator=() [2/2]

MoveSplineInit & Movement::MoveSplineInit::operator= ( MoveSplineInit const &  )
delete

◆ Path()

PointsArray & Movement::MoveSplineInit::Path ( )
inline

Definition at line 174 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetAnimation()

void Movement::MoveSplineInit::SetAnimation ( AnimTier  anim,
uint32  tierTransitionId = 0,
Milliseconds  transitionStartTime = 0ms 
)
inline

Definition at line 215 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetBackward()

void Movement::MoveSplineInit::SetBackward ( )
inline

Definition at line 191 of file MoveSplineInit.h.

◆ SetCyclic()

void Movement::MoveSplineInit::SetCyclic ( )
inline

Definition at line 189 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetFacing() [1/4]

void Movement::MoveSplineInit::SetFacing ( float  angle)

Definition at line 235 of file MoveSplineInit.cpp.

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

◆ SetFacing() [2/4]

void Movement::MoveSplineInit::SetFacing ( float  x,
float  y,
float  z 
)

Definition at line 223 of file MoveSplineInit.cpp.

+ Here is the call graph for this function:

◆ SetFacing() [3/4]

void Movement::MoveSplineInit::SetFacing ( Unit const *  target)

Definition at line 228 of file MoveSplineInit.cpp.

+ Here is the call graph for this function:

◆ SetFacing() [4/4]

void Movement::MoveSplineInit::SetFacing ( Vector3 const &  point)

Definition at line 213 of file MoveSplineInit.cpp.

◆ SetFall()

void Movement::MoveSplineInit::SetFall ( )

Definition at line 280 of file MoveSplineInit.cpp.

+ Here is the call graph for this function:

◆ SetFirstPointId()

void Movement::MoveSplineInit::SetFirstPointId ( int32  pointId)
inline

Definition at line 109 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetFly()

void Movement::MoveSplineInit::SetFly ( )
inline

Definition at line 185 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetJumpOrientationFixed()

void Movement::MoveSplineInit::SetJumpOrientationFixed ( bool  enable)
inline

Definition at line 195 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetOrientationFixed()

void Movement::MoveSplineInit::SetOrientationFixed ( bool  enable)
inline

Definition at line 194 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetParabolic()

void Movement::MoveSplineInit::SetParabolic ( float  amplitude,
float  start_time 
)
inline

Definition at line 199 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetParabolicVerticalAcceleration()

void Movement::MoveSplineInit::SetParabolicVerticalAcceleration ( float  vertical_acceleration,
float  time_shift 
)
inline

Definition at line 207 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetSmooth()

void Movement::MoveSplineInit::SetSmooth ( )
inline

Definition at line 187 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetSpellEffectExtraData()

void Movement::MoveSplineInit::SetSpellEffectExtraData ( SpellEffectExtraData const &  spellEffectExtraData)
inline

Definition at line 228 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetSteering()

void Movement::MoveSplineInit::SetSteering ( )
inline

Definition at line 196 of file MoveSplineInit.h.

◆ SetTransportEnter()

void Movement::MoveSplineInit::SetTransportEnter ( )
inline

Definition at line 192 of file MoveSplineInit.h.

◆ SetTransportExit()

void Movement::MoveSplineInit::SetTransportExit ( )
inline

Definition at line 193 of file MoveSplineInit.h.

◆ SetUncompressed()

void Movement::MoveSplineInit::SetUncompressed ( )
inline

Definition at line 188 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetUnlimitedSpeed()

void Movement::MoveSplineInit::SetUnlimitedSpeed ( )
inline

Definition at line 197 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetVelocity()

void Movement::MoveSplineInit::SetVelocity ( float  velocity)
inline

Definition at line 190 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetWalk()

void Movement::MoveSplineInit::SetWalk ( bool  enable)
inline

Definition at line 186 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ Stop()

void Movement::MoveSplineInit::Stop ( )

Definition at line 152 of file MoveSplineInit.cpp.

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

Member Data Documentation

◆ args

MoveSplineInitArgs Movement::MoveSplineInit::args
protected

Definition at line 181 of file MoveSplineInit.h.

◆ unit

Unit* Movement::MoveSplineInit::unit
protected

Definition at line 182 of file MoveSplineInit.h.


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