TrinityCore
Loading...
Searching...
No Matches
TransportMgr Class Reference

#include <TransportMgr.h>

Public Member Functions

void Unload ()
 
void LoadTransportTemplates ()
 
void LoadTransportAnimationAndRotation ()
 
TransportCreateTransport (uint32 entry, ObjectGuid::LowType guid=0, Map *map=nullptr)
 
void SpawnContinentTransports ()
 
void CreateInstanceTransports (Map *map)
 
TransportTemplate const * GetTransportTemplate (uint32 entry) const
 
TransportAnimation const * GetTransportAnimInfo (uint32 entry) const
 

Static Public Member Functions

static TransportMgrinstance ()
 

Private Member Functions

 TransportMgr ()
 
 ~TransportMgr ()
 
 TransportMgr (TransportMgr const &)=delete
 
TransportMgroperator= (TransportMgr const &)=delete
 
void GeneratePath (GameObjectTemplate const *goInfo, TransportTemplate *transport)
 
void AddPathNodeToTransport (uint32 transportEntry, uint32 timeSeg, TransportAnimationEntry const *node)
 
void AddPathRotationToTransport (uint32 transportEntry, uint32 timeSeg, TransportRotationEntry const *node)
 

Private Attributes

TransportTemplates _transportTemplates
 
TransportInstanceMap _instanceTransports
 
TransportAnimationContainer _transportAnimations
 

Detailed Description

Definition at line 103 of file TransportMgr.h.

Constructor & Destructor Documentation

◆ TransportMgr() [1/2]

TransportMgr::TransportMgr ( )
private

Definition at line 33 of file TransportMgr.cpp.

◆ ~TransportMgr()

TransportMgr::~TransportMgr ( )
private

Definition at line 35 of file TransportMgr.cpp.

◆ TransportMgr() [2/2]

TransportMgr::TransportMgr ( TransportMgr const &  )
privatedelete

Member Function Documentation

◆ AddPathNodeToTransport()

void TransportMgr::AddPathNodeToTransport ( uint32  transportEntry,
uint32  timeSeg,
TransportAnimationEntry const *  node 
)
private

Definition at line 360 of file TransportMgr.cpp.

+ Here is the caller graph for this function:

◆ AddPathRotationToTransport()

void TransportMgr::AddPathRotationToTransport ( uint32  transportEntry,
uint32  timeSeg,
TransportRotationEntry const *  node 
)
inlineprivate

Definition at line 151 of file TransportMgr.h.

+ Here is the caller graph for this function:

◆ CreateInstanceTransports()

void TransportMgr::CreateInstanceTransports ( Map map)

Definition at line 460 of file TransportMgr.cpp.

+ Here is the call graph for this function:

◆ CreateTransport()

Transport * TransportMgr::CreateTransport ( uint32  entry,
ObjectGuid::LowType  guid = 0,
Map map = nullptr 
)

Definition at line 369 of file TransportMgr.cpp.

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

◆ GeneratePath()

void TransportMgr::GeneratePath ( GameObjectTemplate const *  goInfo,
TransportTemplate transport 
)
private

Definition at line 125 of file TransportMgr.cpp.

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

◆ GetTransportAnimInfo()

TransportAnimation const * TransportMgr::GetTransportAnimInfo ( uint32  entry) const
inline

Definition at line 131 of file TransportMgr.h.

◆ GetTransportTemplate()

TransportTemplate const * TransportMgr::GetTransportTemplate ( uint32  entry) const
inline

Definition at line 123 of file TransportMgr.h.

+ Here is the caller graph for this function:

◆ instance()

TransportMgr * TransportMgr::instance ( )
static

Definition at line 37 of file TransportMgr.cpp.

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

◆ LoadTransportAnimationAndRotation()

void TransportMgr::LoadTransportAnimationAndRotation ( )

Definition at line 97 of file TransportMgr.cpp.

+ Here is the call graph for this function:

◆ LoadTransportTemplates()

void TransportMgr::LoadTransportTemplates ( )

Definition at line 48 of file TransportMgr.cpp.

+ Here is the call graph for this function:

◆ operator=()

TransportMgr & TransportMgr::operator= ( TransportMgr const &  )
privatedelete

◆ SpawnContinentTransports()

void TransportMgr::SpawnContinentTransports ( )

Definition at line 431 of file TransportMgr.cpp.

+ Here is the call graph for this function:

◆ Unload()

void TransportMgr::Unload ( )

Definition at line 43 of file TransportMgr.cpp.

Member Data Documentation

◆ _instanceTransports

TransportInstanceMap TransportMgr::_instanceTransports
private

Definition at line 160 of file TransportMgr.h.

◆ _transportAnimations

TransportAnimationContainer TransportMgr::_transportAnimations
private

Definition at line 162 of file TransportMgr.h.

◆ _transportTemplates

TransportTemplates TransportMgr::_transportTemplates
private

Definition at line 157 of file TransportMgr.h.


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