TrinityCore
SplineChainLink Struct Reference

#include <SplineChain.h>

Public Member Functions

 SplineChainLink (Movement::PointsArray const &points, uint32 expectedDuration, uint32 msToNext, float velocity)
 
template<typename iteratorType >
 SplineChainLink (iteratorType begin, iteratorType end, uint32 expectedDuration, uint32 msToNext, float velocity)
 
 SplineChainLink (uint32 expectedDuration, uint32 msToNext, float velocity)
 

Public Attributes

Movement::PointsArray Points
 
uint32 ExpectedDuration
 
uint32 TimeToNext
 
float Velocity
 

Detailed Description

Definition at line 24 of file SplineChain.h.

Constructor & Destructor Documentation

◆ SplineChainLink() [1/3]

SplineChainLink::SplineChainLink ( Movement::PointsArray const &  points,
uint32  expectedDuration,
uint32  msToNext,
float  velocity 
)
inline

Definition at line 26 of file SplineChain.h.

26: Points(points), ExpectedDuration(expectedDuration), TimeToNext(msToNext), Velocity(velocity) { }

◆ SplineChainLink() [2/3]

template<typename iteratorType >
SplineChainLink::SplineChainLink ( iteratorType  begin,
iteratorType  end,
uint32  expectedDuration,
uint32  msToNext,
float  velocity 
)
inline

Definition at line 27 of file SplineChain.h.

27: Points(begin, end), ExpectedDuration(expectedDuration), TimeToNext(msToNext), Velocity(velocity) { }

◆ SplineChainLink() [3/3]

SplineChainLink::SplineChainLink ( uint32  expectedDuration,
uint32  msToNext,
float  velocity 
)
inline

Definition at line 28 of file SplineChain.h.

28: Points(), ExpectedDuration(expectedDuration), TimeToNext(msToNext), Velocity(velocity) { }

Member Data Documentation

◆ ExpectedDuration

uint32 SplineChainLink::ExpectedDuration

Definition at line 30 of file SplineChain.h.

◆ Points

Movement::PointsArray SplineChainLink::Points

Definition at line 29 of file SplineChain.h.

◆ TimeToNext

uint32 SplineChainLink::TimeToNext

Definition at line 31 of file SplineChain.h.

◆ Velocity

float SplineChainLink::Velocity

Definition at line 32 of file SplineChain.h.


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