TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
KeyFrame Struct Reference

#include <TransportMgr.h>

Public Member Functions

 KeyFrame (TaxiPathNodeEntry const *node)
 
bool IsTeleportFrame () const
 
bool IsStopFrame () const
 

Public Attributes

uint32 Index
 
TaxiPathNodeEntry constNode
 
float InitialOrientation
 
float DistSinceStop
 
float DistUntilStop
 
float DistFromPrev
 
float TimeFrom
 
float TimeTo
 
bool Teleport
 
uint32 ArriveTime
 
uint32 DepartureTime
 
TransportSplineSpline
 
float NextDistFromPrev
 
uint32 NextArriveTime
 

Constructor & Destructor Documentation

KeyFrame::KeyFrame ( TaxiPathNodeEntry const node)
inlineexplicit
42  : Index(0), Node(node), InitialOrientation(0.0f),
43  DistSinceStop(-1.0f), DistUntilStop(-1.0f), DistFromPrev(-1.0f), TimeFrom(0.0f), TimeTo(0.0f),
45  {
46  }
uint32 DepartureTime
Definition: TransportMgr.h:58
float DistFromPrev
Definition: TransportMgr.h:53
uint32 ArriveTime
Definition: TransportMgr.h:57
arena_t NULL
Definition: jemalloc_internal.h:624
float DistUntilStop
Definition: TransportMgr.h:52
float TimeFrom
Definition: TransportMgr.h:54
TaxiPathNodeEntry const * Node
Definition: TransportMgr.h:49
float InitialOrientation
Definition: TransportMgr.h:50
TransportSpline * Spline
Definition: TransportMgr.h:59
float TimeTo
Definition: TransportMgr.h:55
float DistSinceStop
Definition: TransportMgr.h:51
uint32 Index
Definition: TransportMgr.h:48
bool Teleport
Definition: TransportMgr.h:56
uint32 NextArriveTime
Definition: TransportMgr.h:63
float NextDistFromPrev
Definition: TransportMgr.h:62

Member Function Documentation

bool KeyFrame::IsStopFrame ( ) const
inline
66 { return (Node->Flags & TAXI_PATH_NODE_FLAG_STOP) != 0; }
TaxiPathNodeEntry const * Node
Definition: TransportMgr.h:49
Definition: DBCEnums.h:702
uint32 Flags
Definition: DB2Structure.h:1352
bool KeyFrame::IsTeleportFrame ( ) const
inline
65 { return Teleport; }
bool Teleport
Definition: TransportMgr.h:56

Member Data Documentation

uint32 KeyFrame::ArriveTime
uint32 KeyFrame::DepartureTime
float KeyFrame::DistFromPrev
float KeyFrame::DistSinceStop
float KeyFrame::DistUntilStop
uint32 KeyFrame::Index
float KeyFrame::InitialOrientation
uint32 KeyFrame::NextArriveTime
float KeyFrame::NextDistFromPrev
TaxiPathNodeEntry const* KeyFrame::Node
TransportSpline* KeyFrame::Spline
bool KeyFrame::Teleport
float KeyFrame::TimeFrom
float KeyFrame::TimeTo

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