TrinityCore
Loading...
Searching...
No Matches
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 (bool force=false)
 
void SetParabolic (float amplitude, float start_time)
 
void SetAnimation (AnimTier anim)
 
void SetFacing (float angle)
 
void SetFacing (Vector3 const &point)
 
void SetFacing (Unit const *target)
 
void SetFacing (ObjectGuid 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 SetFly ()
 
void SetWalk (bool enable)
 
void SetCyclic ()
 
void SetFall ()
 
void SetTransportEnter ()
 
void SetTransportExit ()
 
void SetBackward ()
 
void SetOrientationFixed (bool enable)
 
void SetVelocity (float velocity)
 
void SetSwim ()
 
PointsArrayPath ()
 
void DisableTransportPathTransformations ()
 

Protected Attributes

MoveSplineInitArgs args
 
Unitunit
 

Detailed Description

Definition at line 46 of file MoveSplineInit.h.

Constructor & Destructor Documentation

◆ MoveSplineInit() [1/3]

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

Definition at line 190 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 184 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ Launch()

int32 Movement::MoveSplineInit::Launch ( )

Definition at line 59 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 238 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 245 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 250 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 149 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetAnimation()

void Movement::MoveSplineInit::SetAnimation ( AnimTier  anim)
inline

Definition at line 178 of file MoveSplineInit.h.

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

◆ SetBackward()

void Movement::MoveSplineInit::SetBackward ( )
inline

Definition at line 165 of file MoveSplineInit.h.

◆ SetCyclic()

void Movement::MoveSplineInit::SetCyclic ( )
inline

Definition at line 163 of file MoveSplineInit.h.

◆ SetFacing() [1/4]

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

Definition at line 224 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 ( ObjectGuid const &  target)

Definition at line 218 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 213 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 203 of file MoveSplineInit.cpp.

+ Here is the call graph for this function:

◆ SetFall()

void Movement::MoveSplineInit::SetFall ( )

Definition at line 269 of file MoveSplineInit.cpp.

+ Here is the call graph for this function:

◆ SetFirstPointId()

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

Definition at line 101 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetFly()

void Movement::MoveSplineInit::SetFly ( )
inline

Definition at line 160 of file MoveSplineInit.h.

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

◆ SetOrientationFixed()

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

Definition at line 168 of file MoveSplineInit.h.

◆ SetParabolic()

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

Definition at line 171 of file MoveSplineInit.h.

+ Here is the call graph for this function:

◆ SetSmooth()

void Movement::MoveSplineInit::SetSmooth ( )
inline

Definition at line 162 of file MoveSplineInit.h.

+ Here is the call graph for this function:

◆ SetSwim()

void Movement::MoveSplineInit::SetSwim ( )
inline

Definition at line 169 of file MoveSplineInit.h.

+ Here is the call graph for this function:

◆ SetTransportEnter()

void Movement::MoveSplineInit::SetTransportEnter ( )
inline

Definition at line 166 of file MoveSplineInit.h.

+ Here is the call graph for this function:

◆ SetTransportExit()

void Movement::MoveSplineInit::SetTransportExit ( )
inline

Definition at line 167 of file MoveSplineInit.h.

+ Here is the call graph for this function:

◆ SetVelocity()

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

Definition at line 164 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ SetWalk()

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

Definition at line 161 of file MoveSplineInit.h.

+ Here is the caller graph for this function:

◆ Stop()

void Movement::MoveSplineInit::Stop ( bool  force = false)

Definition at line 146 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 156 of file MoveSplineInit.h.

◆ unit

Unit* Movement::MoveSplineInit::unit
protected

Definition at line 157 of file MoveSplineInit.h.


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