![]() |
TrinityCore
|
#include <TransportMgr.h>
Public Member Functions | |
| TransportMgr (TransportMgr const &)=delete | |
| TransportMgr (TransportMgr &&)=delete | |
| TransportMgr & | operator= (TransportMgr const &)=delete |
| TransportMgr & | operator= (TransportMgr &&)=delete |
| void | Unload () |
| void | LoadTransportTemplates () |
| void | LoadTransportAnimationAndRotation () |
| void | LoadTransportSpawns () |
| Transport * | CreateTransport (uint32 entry, Map *map, ObjectGuid::LowType guid=0, uint8 phaseUseFlags=0, uint32 phaseId=0, uint32 phaseGroupId=0) |
| void | CreateTransportsForMap (Map *map) |
| TransportTemplate const * | GetTransportTemplate (uint32 entry) const |
| TransportAnimation const * | GetTransportAnimInfo (uint32 entry) const |
| TransportSpawn const * | GetTransportSpawn (ObjectGuid::LowType spawnId) const |
Static Public Member Functions | |
| static TransportMgr * | instance () |
Private Member Functions | |
| TransportMgr () | |
| ~TransportMgr () | |
| 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 | |
| std::unordered_map< uint32, TransportTemplate > | _transportTemplates |
| std::unordered_map< uint32, std::set< TransportSpawn * > > | _transportsByMap |
| std::map< uint32, TransportAnimation > | _transportAnimations |
| std::unordered_map< ObjectGuid::LowType, TransportSpawn > | _transportSpawns |
Definition at line 138 of file TransportMgr.h.
|
delete |
|
delete |
|
privatedefault |
|
privatedefault |
|
private |
|
private |
| Transport * TransportMgr::CreateTransport | ( | uint32 | entry, |
| Map * | map, | ||
| ObjectGuid::LowType | guid = 0, |
||
| uint8 | phaseUseFlags = 0, |
||
| uint32 | phaseId = 0, |
||
| uint32 | phaseGroupId = 0 |
||
| ) |
Definition at line 561 of file TransportMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void TransportMgr::CreateTransportsForMap | ( | Map * | map | ) |
|
private |
Definition at line 489 of file TransportMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| TransportAnimation const * TransportMgr::GetTransportAnimInfo | ( | uint32 | entry | ) | const |
| TransportSpawn const * TransportMgr::GetTransportSpawn | ( | ObjectGuid::LowType | spawnId | ) | const |
| TransportTemplate const * TransportMgr::GetTransportTemplate | ( | uint32 | entry | ) | const |
Definition at line 633 of file TransportMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void TransportMgr::LoadTransportAnimationAndRotation | ( | ) |
| void TransportMgr::LoadTransportSpawns | ( | ) |
| void TransportMgr::LoadTransportTemplates | ( | ) |
|
delete |
|
delete |
| void TransportMgr::Unload | ( | ) |
Definition at line 189 of file TransportMgr.cpp.
|
private |
Definition at line 185 of file TransportMgr.h.
|
private |
Definition at line 183 of file TransportMgr.h.
|
private |
Definition at line 187 of file TransportMgr.h.
|
private |
Definition at line 180 of file TransportMgr.h.