TrinityCore
Loading...
Searching...
No Matches
TransportAnimation Struct Reference

#include <TransportMgr.h>

Public Member Functions

 TransportAnimation ()
 
 ~TransportAnimation ()
 
 TransportAnimation (TransportAnimation const &)=delete
 
 TransportAnimation (TransportAnimation &&) noexcept
 
TransportAnimation & operator= (TransportAnimation const &)=delete
 
TransportAnimation & operator= (TransportAnimation &&) noexcept
 
TransportAnimationEntry const * GetPrevAnimNode (uint32 time) const
 
TransportRotationEntry const * GetPrevAnimRotation (uint32 time) const
 
TransportAnimationEntry const * GetNextAnimNode (uint32 time) const
 
TransportRotationEntry const * GetNextAnimRotation (uint32 time) const
 

Public Attributes

std::map< uint32, TransportAnimationEntry const * > Path
 
std::map< uint32, TransportRotationEntry const * > Rotations
 
uint32 TotalTime = 0
 

Detailed Description

Definition at line 108 of file TransportMgr.h.

Constructor & Destructor Documentation

◆ TransportAnimation() [1/3]

TransportAnimation::TransportAnimation ( )
default

◆ ~TransportAnimation()

TransportAnimation::~TransportAnimation ( )
default

◆ TransportAnimation() [2/3]

TransportAnimation::TransportAnimation ( TransportAnimation const &  )
delete

◆ TransportAnimation() [3/3]

TransportAnimation::TransportAnimation ( TransportAnimation &&  )
defaultnoexcept

Member Function Documentation

◆ GetNextAnimNode()

TransportAnimationEntry const * TransportAnimation::GetNextAnimNode ( uint32  time) const

Definition at line 672 of file TransportMgr.cpp.

References Path.

Referenced by GameObjectType::Transport::Update().

◆ GetNextAnimRotation()

TransportRotationEntry const * TransportAnimation::GetNextAnimRotation ( uint32  time) const

Definition at line 684 of file TransportMgr.cpp.

References Rotations.

Referenced by GameObjectType::Transport::Update().

◆ GetPrevAnimNode()

TransportAnimationEntry const * TransportAnimation::GetPrevAnimNode ( uint32  time) const

Definition at line 648 of file TransportMgr.cpp.

References Path.

Referenced by GameObjectType::Transport::Update().

◆ GetPrevAnimRotation()

TransportRotationEntry const * TransportAnimation::GetPrevAnimRotation ( uint32  time) const

Definition at line 660 of file TransportMgr.cpp.

References Rotations.

Referenced by GameObjectType::Transport::Update().

◆ operator=() [1/2]

TransportAnimation & TransportAnimation::operator= ( TransportAnimation &&  )
defaultnoexcept

◆ operator=() [2/2]

TransportAnimation & TransportAnimation::operator= ( TransportAnimation const &  )
delete

Member Data Documentation

◆ Path

◆ Rotations

std::map<uint32, TransportRotationEntry const*> TransportAnimation::Rotations

◆ TotalTime


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