Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
LegacyTransport Namespace Reference

Classes

struct  LegacyTransportEntry
struct  LegacyTransportSpawnDiagnostic

Enumerations

enum  LegacyTransportFlags { LEGACY_TRANSPORT_FLAG_NONE = 0x00 , LEGACY_TRANSPORT_FLAG_PRESERVE_PASSENGER_GAMEOBJECT_VISIBILITY = 0x01 }

Functions

bool AddLegacyTransportEntry (LegacyTransportEntry const &entry)
void ClearLegacyTransportEntries ()
uint32 GetAllowedSpawnMask (uint32 dbEntry, uint32 mapId, uint32 spawnMask)
uint32 GetClientEntryForDbEntry (uint32 dbEntry)
bool IsAllowedOnMap (uint32 dbEntry, uint32 mapId, uint32 spawnMode)
bool IsDeeprunSubwayClientEntry (uint32 clientEntry)
bool IsDeeprunSubwayDbEntry (uint32 dbEntry)
bool IsLocalTransportDbEntry (uint32 dbEntry)
void LoadLegacyTransportEntries ()
void LogCreateAttempt (LegacyTransportSpawnDiagnostic const &)
void LogCreateFailure (LegacyTransportSpawnDiagnostic const &)
void LogCreateSuccess (LegacyTransportSpawnDiagnostic const &, uint64, uint32, uint32, uint32, uint32, uint32, uint32, uint32)
void LogMissingAnimationData (uint32, uint32, uint32)
void LogMissingCreateAnimationData (uint32, uint32, uint32)
void LogNoRegisteredSpawns (uint32, uint32)
void LogRegisteredSpawn (LegacyTransportSpawnDiagnostic const &)
void LogSpawnCount (uint32, uint32, uint32)
bool ShouldPreservePassengerGameObjectVisibility (uint32 clientEntry)

Enumeration Type Documentation

◆ LegacyTransportFlags

Enumerator
LEGACY_TRANSPORT_FLAG_NONE 
LEGACY_TRANSPORT_FLAG_PRESERVE_PASSENGER_GAMEOBJECT_VISIBILITY 

Definition at line 13 of file LegacyTransportSupport.h.

Function Documentation

◆ AddLegacyTransportEntry()

◆ ClearLegacyTransportEntries()

void LegacyTransport::ClearLegacyTransportEntries ( )

Definition at line 49 of file LegacyTransportSupport.cpp.

Referenced by LoadLegacyTransportEntries().

◆ GetAllowedSpawnMask()

uint32 LegacyTransport::GetAllowedSpawnMask ( uint32 dbEntry,
uint32 mapId,
uint32 spawnMask )

Definition at line 96 of file LegacyTransportSupport.cpp.

Referenced by IsAllowedOnMap(), and ObjectMgr::LoadGameobjects().

◆ GetClientEntryForDbEntry()

uint32 LegacyTransport::GetClientEntryForDbEntry ( uint32 dbEntry)

Definition at line 90 of file LegacyTransportSupport.cpp.

Referenced by TransportMgr::GetLocalTransportEntry().

◆ IsAllowedOnMap()

bool LegacyTransport::IsAllowedOnMap ( uint32 dbEntry,
uint32 mapId,
uint32 spawnMode )

Definition at line 107 of file LegacyTransportSupport.cpp.

References GetAllowedSpawnMask().

Referenced by TransportMgr::CreateLocalTransport().

◆ IsDeeprunSubwayClientEntry()

bool LegacyTransport::IsDeeprunSubwayClientEntry ( uint32 clientEntry)

◆ IsDeeprunSubwayDbEntry()

bool LegacyTransport::IsDeeprunSubwayDbEntry ( uint32 dbEntry)

◆ IsLocalTransportDbEntry()

bool LegacyTransport::IsLocalTransportDbEntry ( uint32 dbEntry)

Definition at line 85 of file LegacyTransportSupport.cpp.

◆ LoadLegacyTransportEntries()

◆ LogCreateAttempt()

void LegacyTransport::LogCreateAttempt ( LegacyTransportSpawnDiagnostic const & )

Definition at line 122 of file LegacyTransportSupport.cpp.

Referenced by TransportMgr::CreateLocalTransport().

◆ LogCreateFailure()

void LegacyTransport::LogCreateFailure ( LegacyTransportSpawnDiagnostic const & )

Definition at line 124 of file LegacyTransportSupport.cpp.

Referenced by TransportMgr::CreateLocalTransport().

◆ LogCreateSuccess()

void LegacyTransport::LogCreateSuccess ( LegacyTransportSpawnDiagnostic const & ,
uint64 ,
uint32 ,
uint32 ,
uint32 ,
uint32 ,
uint32 ,
uint32 ,
uint32  )

Definition at line 125 of file LegacyTransportSupport.cpp.

Referenced by TransportMgr::CreateLocalTransport().

◆ LogMissingAnimationData()

void LegacyTransport::LogMissingAnimationData ( uint32 ,
uint32 ,
uint32  )

Definition at line 121 of file LegacyTransportSupport.cpp.

Referenced by ObjectMgr::LoadGameobjects().

◆ LogMissingCreateAnimationData()

void LegacyTransport::LogMissingCreateAnimationData ( uint32 ,
uint32 ,
uint32  )

Definition at line 123 of file LegacyTransportSupport.cpp.

Referenced by TransportMgr::CreateLocalTransport().

◆ LogNoRegisteredSpawns()

void LegacyTransport::LogNoRegisteredSpawns ( uint32 ,
uint32  )

Definition at line 126 of file LegacyTransportSupport.cpp.

Referenced by TransportMgr::SpawnLocalTransports().

◆ LogRegisteredSpawn()

void LegacyTransport::LogRegisteredSpawn ( LegacyTransportSpawnDiagnostic const & )

Definition at line 120 of file LegacyTransportSupport.cpp.

Referenced by ObjectMgr::LoadGameobjects().

◆ LogSpawnCount()

void LegacyTransport::LogSpawnCount ( uint32 ,
uint32 ,
uint32  )

Definition at line 127 of file LegacyTransportSupport.cpp.

Referenced by TransportMgr::SpawnLocalTransports().

◆ ShouldPreservePassengerGameObjectVisibility()

bool LegacyTransport::ShouldPreservePassengerGameObjectVisibility ( uint32 clientEntry)