Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
TransportMgr Class Reference

#include <TransportMgr.h>

Public Member Functions

void AddLocalTransportSpawn (uint16 mapId, uint32 spawnMask, uint32 guid)
void CreateInstanceTransports (Map *map)
TransportCreateLocalTransport (uint32 entry, Map *map, float x, float y, float z, float o, uint32 animprogress)
TransportCreateLocalTransport (uint32 guid, Map *map)
TransportCreateTransport (uint32 entry, uint32 guid=0, Map *map=NULL)
uint32 GetLocalTransportEntry (uint32 entry) const
TransportAnimation const * GetTransportAnimInfo (uint32 entry) const
TransportTemplate const * GetTransportTemplate (uint32 entry) const
void LoadTransportTemplates ()
void SpawnContinentTransports ()
void SpawnLocalTransports (Map *map)
void Unload ()

Private Member Functions

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

Private Attributes

TransportInstanceMap _instanceTransports
TransportInstanceMap _localTransportSpawns
TransportAnimationContainer _transportAnimations
TransportTemplates _transportTemplates

Friends

void LoadDBCStores (std::string const &dataPath)
class Skyfire::Singleton< TransportMgr, Skyfire::Mutex >

Detailed Description

Definition at line 88 of file TransportMgr.h.

Constructor & Destructor Documentation

◆ TransportMgr() [1/2]

TransportMgr::TransportMgr ( )
private

Definition at line 26 of file TransportMgr.cpp.

Referenced by operator=(), and TransportMgr().

◆ ~TransportMgr()

TransportMgr::~TransportMgr ( )
private

Definition at line 28 of file TransportMgr.cpp.

◆ TransportMgr() [2/2]

TransportMgr::TransportMgr ( TransportMgr const & )
private

References TransportMgr().

Member Function Documentation

◆ AddLocalTransportSpawn()

void TransportMgr::AddLocalTransportSpawn ( uint16 mapId,
uint32 spawnMask,
uint32 guid )
inline

Definition at line 115 of file TransportMgr.h.

References _localTransportSpawns, AddLocalTransportSpawn(), and MAKE_PAIR32().

Referenced by AddLocalTransportSpawn().

◆ AddPathNodeToTransport()

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

◆ AddPathRotationToTransport()

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

Definition at line 150 of file TransportMgr.h.

References _transportAnimations.

◆ CreateInstanceTransports()

void TransportMgr::CreateInstanceTransports ( Map * map)

Definition at line 481 of file TransportMgr.cpp.

References _instanceTransports, CreateTransport(), and Map::GetId().

◆ CreateLocalTransport() [1/2]

Transport * TransportMgr::CreateLocalTransport ( uint32 entry,
Map * map,
float x,
float y,
float z,
float o,
uint32 animprogress )

◆ CreateLocalTransport() [2/2]

◆ CreateTransport()

◆ GeneratePath()

◆ GetLocalTransportEntry()

uint32 TransportMgr::GetLocalTransportEntry ( uint32 entry) const

Definition at line 35 of file TransportMgr.cpp.

References LegacyTransport::GetClientEntryForDbEntry().

Referenced by CreateLocalTransport().

◆ GetTransportAnimInfo()

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

Definition at line 130 of file TransportMgr.h.

References _transportAnimations.

Referenced by CreateLocalTransport().

◆ GetTransportTemplate()

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

Definition at line 122 of file TransportMgr.h.

References _transportTemplates.

Referenced by CreateTransport(), and SpawnContinentTransports().

◆ LoadTransportTemplates()

◆ operator=()

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

References TransportMgr().

◆ SpawnContinentTransports()

void TransportMgr::SpawnContinentTransports ( )

◆ SpawnLocalTransports()

◆ Unload()

void TransportMgr::Unload ( )

Definition at line 30 of file TransportMgr.cpp.

References _transportTemplates.

◆ LoadDBCStores

void LoadDBCStores ( std::string const & dataPath)
friend

Definition at line 318 of file DBCStores.cpp.

References ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL, ASSERT, SkillLineEntry::categoryId, ChrSpecializationEntry::classId, DBCFileCount, DIFFICULTY_NONE, DIFFICULTY_SCE_HEROIC, DIFFICULTY_SCE_NORMAL, GetClassBySkillId(), getMSTime(), GetMSTimeDiffToNow(), SpellDifficultyEntry::ID, SpellEntry::Id, SkillLineAbilityEntry::learnOnGetSkill, LoadDBC(), TaxiNodesEntry::map_id, MAX_BATTLEGROUND_BRACKETS, MAX_CLASSES, MAX_POWERS, MAX_TALENT_RANK, TaxiNodesEntry::MountCreatureID, ChrClassesEntry::name, SkillLineEntry::name, PowersByClass, sAchievementStore, sAllianceTaxiNodesMask, sAreaFlagByAreaID, sAreaFlagByMapID, sAreaGroupStore, sAreaStore, sAreaTriggerStore, sArmorLocationStore, sAuctionHouseStore, sBankBagSlotPricesStore, sBannedAddOnsStore, sBarberShopStyleStore, sBattlemasterListStore, sCharStartOutfitMap, sCharStartOutfitStore, sCharTitlesStore, sChatChannelsStore, sChrClassesStore, sChrPowerTypesStore, sChrRacesStore, sChrSpecializationStore, sCinematicCameraStore, sCinematicSequencesStore, sClassBySkillIdStore, sCreatureDisplayInfoStore, sCreatureFamilyStore, sCreatureModelDataStore, sCreatureSpellDataStore, sCreatureTypeStore, sCriteriaStore, sCriteriaTreeStore, sCurrencyTypesStore, sDeathKnightTaxiNodesMask, sDestructibleModelDataStore, sDifficultyStore, sDigsitePOIPolygons, sDungeonEncounterStore, sDurabilityCostsStore, sDurabilityQualityStore, sEmotesStore, sEmotesTextStore, SF_LOG_ERROR, SF_LOG_INFO, sFactionStore, sFactionTeamMap, sFactionTemplateStore, sGameObjectDisplayInfoStore, sGemPropertiesStore, sGenNameVectoArraysMap, sGlyphPropertiesStore, sGlyphSlotStore, sGtBarberShopCostBaseStore, sGtBattlePetXpStore, sGtChanceToMeleeCritBaseStore, sGtChanceToMeleeCritStore, sGtChanceToSpellCritBaseStore, sGtChanceToSpellCritStore, sGtCombatRatingsStore, sGtNPCManaCostScalerStore, sGtOCTBaseHPByClassStore, sGtOCTBaseMPByClassStore, sGtOCTClassCombatRatingScalarStore, sGtOCTHpPerStaminaStore, sGtRegenMPPerSptStore, sGtSpellScalingStore, sGuildPerkSpellsStore, sHolidaysStore, sHordeTaxiNodesMask, sImportPriceArmorStore, sImportPriceQualityStore, sImportPriceShieldStore, sImportPriceWeaponStore, sItemArmorQualityStore, sItemArmorShieldStore, sItemArmorTotalStore, sItemClassStore, sItemDamageAmmoStore, sItemDamageOneHandCasterStore, sItemDamageOneHandStore, sItemDamageRangedStore, sItemDamageThrownStore, sItemDamageTwoHandCasterStore, sItemDamageTwoHandStore, sItemDamageWandStore, sItemDisenchantLootStore, sItemLimitCategoryStore, sItemPriceBaseStore, sItemRandomPropertiesStore, sItemRandomSuffixStore, sItemReforgeStore, sItemSetStore, SKILL_CATEGORY_CLASS, SkillLineAbilityEntry::skillId, CreatureFamilyEntry::skillLine, sLFGDungeonStore, sLiquidTypeStore, sLockStore, sMailTemplateStore, sMapDifficultyMap, sMapDifficultyStore, sMapStore, sModifierTreeStore, sMountCapabilityStore, sMountTypeStore, sMovieStore, sNameGenStore, sOldContinentsNodesMask, sOverrideSpellDataStore, SPELL_ATTR0_PASSIVE, SPELL_EFFECT_SEND_TAXI, SpellEntry::SpellCategoriesId, SpellEffectScalingEntry::SpellEffectId, SpellDifficultyEntry::SpellID, TalentEntry::SpellId, SkillLineAbilityEntry::spellId, SpellLevelsEntry::spellLevel, SpellEntry::SpellLevelsId, SpellEntry::SpellMiscId, sPetFamilySpellsStore, sPhaseGroupStore, sPhasesByGroup, sPhaseStore, sPvPDifficultyStore, sQuestFactionRewardStore, sQuestPOIPointStore, sQuestSortStore, sQuestXPStore, sRandomPropertiesPointsStore, sResearchBranchStore, sResearchProjectStore, sResearchSiteStore, sScalingStatDistributionStore, sScalingStatValuesStore, sSkillLineAbilityStore, sSkillLineStore, sSoundEntriesStore, sSpecializationClassStore, sSpecializationSpellsMap, sSpecializationSpellsStore, sSpellAuraOptionsStore, sSpellAuraRestrictionsStore, sSpellCastingRequirementsStore, sSpellCastTimesStore, sSpellCategoriesStore, sSpellCategoryStore, sSpellClassOptionsStore, sSpellCooldownsStore, sSpellDifficultyStore, sSpellDurationStore, sSpellEffectScalingStore, sSpellEffectScallingByEffectId, sSpellEffectStore, sSpellEquippedItemsStore, sSpellFocusObjectStore, sSpellInterruptsStore, sSpellItemEnchantmentConditionStore, sSpellItemEnchantmentStore, sSpellLevelsStore, sSpellMgr, sSpellMiscStore, sSpellPowerStore, sSpellRadiusStore, sSpellRangeStore, sSpellRuneCostStore, sSpellsByCategoryStore, sSpellScalingStore, sSpellShapeshiftFormStore, sSpellShapeshiftStore, sSpellsPerClassStore, sSpellStore, sSpellTargetRestrictionsStore, sSpellTotemsStore, sSummonPropertiesStore, sTalentSpellPosMap, sTalentStore, sTaxiNodesMask, sTaxiNodesStore, sTaxiPathNodesByPath, sTaxiPathNodeStore, sTaxiPathSetBySource, sTaxiPathStore, sTotemCategoryStore, sTransportAnimationStore, sTransportMgr, sTransportRotationStore, sUnitPowerBarStore, sVehicleSeatStore, sVehicleStore, sWMOAreaInfoByTripple, sWMOAreaTableStore, sWorldMapAreaStore, sWorldMapOverlayStore, sWorldSafeLocsStore, ChrSpecializationEntry::TabPage, FactionEntry::team, TransportAnimationEntry::TimeSeg, TransportRotationEntry::TimeSeg, TransportAnimationEntry::TransportEntry, and TransportRotationEntry::TransportEntry.

◆ Skyfire::Singleton< TransportMgr, Skyfire::Mutex >

Definition at line 83 of file TransportMgr.h.

Member Data Documentation

◆ _instanceTransports

TransportInstanceMap TransportMgr::_instanceTransports
private

Definition at line 159 of file TransportMgr.h.

Referenced by CreateInstanceTransports(), and LoadTransportTemplates().

◆ _localTransportSpawns

TransportInstanceMap TransportMgr::_localTransportSpawns
private

Definition at line 163 of file TransportMgr.h.

Referenced by AddLocalTransportSpawn(), and SpawnLocalTransports().

◆ _transportAnimations

TransportAnimationContainer TransportMgr::_transportAnimations
private

◆ _transportTemplates

TransportTemplates TransportMgr::_transportTemplates
private

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