|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Go to the source code of this file.
Typedefs | |
| typedef std::vector< std::pair< int32, int32 > > | DigsitePOIPolygon |
| typedef std::map< uint32, DigsitePOIPolygon > | DigsitePOIPolygonContainer |
| typedef std::unordered_map< uint32, std::unordered_map< uint32, MapDifficulty > > | MapDifficultyMap |
| typedef std::list< uint32 > | SimpleFactionsList |
Enumerations | |
| enum | ContentLevels { CONTENT_1_60 = 0 , CONTENT_61_70 = 1 , CONTENT_71_80 = 2 , CONTENT_81_85 = 3 , CONTENT_86_90 = 4 , MAX_CONTENT } |
| typedef std::vector<std::pair<int32, int32> > DigsitePOIPolygon |
Definition at line 73 of file DBCStores.h.
| typedef std::map<uint32 , DigsitePOIPolygon> DigsitePOIPolygonContainer |
Definition at line 74 of file DBCStores.h.
| typedef std::unordered_map<uint32, std::unordered_map<uint32, MapDifficulty> > MapDifficultyMap |
Definition at line 59 of file DBCStores.h.
| typedef std::list<uint32> SimpleFactionsList |
Definition at line 15 of file DBCStores.h.
| enum ContentLevels |
| Enumerator | |
|---|---|
| CONTENT_1_60 | |
| CONTENT_61_70 | |
| CONTENT_71_80 | |
| CONTENT_81_85 | |
| CONTENT_86_90 | |
| MAX_CONTENT | |
Definition at line 36 of file DBCStores.h.
| AreaTableEntry const * GetAreaEntryByAreaFlagAndMap | ( | uint32 | area_flag, |
| uint32 | map_id ) |
Definition at line 1002 of file DBCStores.cpp.
References GetAreaEntryByAreaID(), sAreaStore, and sMapStore.
Referenced by Player::CheckAreaExploreAndOutdoor(), Map::GetAreaIdByAreaFlag(), GridMap::getLiquidStatus(), Map::getLiquidStatus(), Map::GetZoneAndAreaIdByAreaFlag(), and Map::GetZoneIdByAreaFlag().
| AreaTableEntry const * GetAreaEntryByAreaID | ( | uint32 | area_id | ) |
Definition at line 993 of file DBCStores.cpp.
References GetAreaFlagByAreaID(), and sAreaStore.
Referenced by Spell::CheckCast(), Spell::EffectDuel(), ChatHandler::ExecuteCommandInTable(), GetAreaEntryByAreaFlagAndMap(), Map::GetAreaFlag(), GridMap::getLiquidStatus(), Map::getLiquidStatus(), Player::GetMapAreaAndZoneString(), Skyfire::AreaTable::GetRootZoneId(), go_commandscript::HandleGoZoneXYCommand(), misc_commandscript::HandleGPSCommand(), group_commandscript::HandleGroupListCommand(), WorldSession::HandleJoinChannel(), misc_commandscript::HandleLinkGraveCommand(), WorldSession::HandleMovementOpcodes(), misc_commandscript::HandlePInfoCommand(), WorldSession::HandleWhoOpcode(), ConditionMgr::isConditionTypeValid(), SmartAIMgr::IsEventValid(), Map::IsOutdoors(), ConditionMgr::isSourceTypeValid(), AchievementCriteriaData::IsValid(), ObjectMgr::LoadFishingBaseSkillLevel(), ObjectMgr::LoadGraveyardZones(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellAreas(), Player::RepopAtGraveyard(), Player::UpdateArea(), Player::UpdateLocalChannels(), and Player::UpdateZone().
Definition at line 976 of file DBCStores.cpp.
References sAreaFlagByAreaID.
Referenced by GetAreaEntryByAreaID(), misc_commandscript::HandleHideAreaCommand(), misc_commandscript::HandleShowAreaCommand(), and AchievementMgr< T >::RequirementsSatisfied().
Definition at line 1025 of file DBCStores.cpp.
References sAreaFlagByMapID.
Referenced by Map::GetAreaFlag().
| PvPDifficultyEntry const * GetBattlegroundBracketById | ( | uint32 | mapid, |
| BattlegroundBracketId | id ) |
Definition at line 1319 of file DBCStores.cpp.
References sPvPDifficultyStore.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate().
| PvPDifficultyEntry const * GetBattlegroundBracketByLevel | ( | uint32 | mapid, |
| uint32 | level ) |
Definition at line 1295 of file DBCStores.cpp.
References PvPDifficultyEntry::maxLevel, and sPvPDifficultyStore.
Referenced by BattlegroundMgr::BuildBattlegroundListPacket(), Group::CanJoinBattlegroundQueue(), MapInstanced::CreateBattleground(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), WorldSession::HandleBattlemasterJoinArena(), and WorldSession::HandleBattlemasterJoinOpcode().
| CharStartOutfitEntry const * GetCharStartOutfitEntry | ( | uint8 | race, |
| uint8 | class_, | ||
| uint8 | gender ) |
Definition at line 1342 of file DBCStores.cpp.
References sCharStartOutfitMap.
Referenced by Player::Create(), and ObjectMgr::PlayerCreateInfoAddItemHelper().
Definition at line 1139 of file DBCStores.cpp.
References sClassBySkillIdStore.
Referenced by TransportMgr::LoadDBCStores.
Definition at line 1019 of file DBCStores.cpp.
References ChrClassesEntry::name, and sChrClassesStore.
Referenced by misc_commandscript::HandlePInfoCommand().
Definition at line 1329 of file DBCStores.cpp.
References sSpecializationClassStore.
Referenced by CharacterBooster::_SetSpecialization(), and WorldSession::HandeSetTalentSpecialization().
| ContentLevels GetContentLevelsForMapAndZone | ( | uint32 | mapid, |
| uint32 | zoneId ) |
Definition at line 1069 of file DBCStores.cpp.
References CONTENT_1_60, MapEntry::Expansion(), GetVirtualMapForMapAndZone(), MapEntry::rootPhaseMap, and sMapStore.
Referenced by Skyfire::XP::Gain().
| MapDifficulty const * GetDefaultMapDifficulty | ( | uint32 | mapId | ) |
Definition at line 1217 of file DBCStores.cpp.
References DifficultyEntry::flags, sDifficultyStore, and sMapDifficultyMap.
Referenced by GetDownscaledMapDifficultyData().
| DigsitePOIPolygon const * GetDigsitePOIPolygon | ( | uint32 | digsiteId | ) |
Definition at line 1508 of file DBCStores.cpp.
References sDigsitePOIPolygons.
Referenced by Player::IsWithinResearchDigsite().
| MapDifficulty const * GetDownscaledMapDifficultyData | ( | uint32 | mapId, |
| DifficultyID & | difficulty ) |
Definition at line 1252 of file DBCStores.cpp.
References DIFFICULTY_SCE_HEROIC, DIFFICULTY_SCE_NORMAL, DifficultyEntry::DownscaleID, GetDefaultMapDifficulty(), GetMapDifficultyData(), MapEntry::IsScenario(), sDifficultyStore, and sMapStore.
Referenced by MapManager::CanPlayerEnter(), MapInstanced::CreateInstance(), Group::GetBoundInstance(), Player::GetBoundInstance(), DisableMgr::IsDisabledFor(), and Player::Satisfy().
| SimpleFactionsList const * GetFactionTeamList | ( | uint32 | faction | ) |
Definition at line 940 of file DBCStores.cpp.
References sFactionTeamMap.
Referenced by ReputationMgr::SetReputation().
| LFGDungeonEntry const * GetLFGDungeon | ( | uint32 | mapId, |
| DifficultyID | difficulty ) |
Returns LFGDungeonEntry for a specific map and difficulty. Will return first found entry if multiple dungeons use the same map (such as Scarlet Monastery).
Definition at line 1518 of file DBCStores.cpp.
References LFGDungeonEntry::m_ContinentID, LFGDungeonEntry::m_DifficultyID, and sLFGDungeonStore.
Referenced by Player::RewardReputation().
Definition at line 1334 of file DBCStores.cpp.
References sLiquidTypeStore.
Referenced by VMAP::VMapManager2::GetLiquidLevel().
| MapDifficulty const * GetMapDifficultyData | ( | uint32 | mapId, |
| DifficultyID | difficulty ) |
Definition at line 1239 of file DBCStores.cpp.
References sMapDifficultyMap.
Referenced by Player::_LoadBoundInstances(), InstanceSaveManager::_ResetOrWarnAll(), MapManager::CanPlayerEnter(), GetDownscaledMapDifficultyData(), Map::GetMapDifficulty(), InstanceMap::GetMaxPlayers(), WorldSession::HandleMoveWorldportAckOpcode(), ObjectMgr::LoadCreatures(), DisableMgr::LoadDisables(), ObjectMgr::LoadGameobjects(), ObjectMgr::LoadInstanceEncounters(), and InstanceSaveManager::LoadResetTimes().
Definition at line 1045 of file DBCStores.cpp.
References CONTENT_1_60, CONTENT_61_70, CONTENT_71_80, CONTENT_81_85, and CONTENT_86_90.
Referenced by KillRewarder::_RewardXP().
Definition at line 949 of file DBCStores.cpp.
References CreatureFamilyEntry::Name, and sCreatureFamilyStore.
Referenced by ObjectMgr::GeneratePetName().
Definition at line 1533 of file DBCStores.cpp.
References sPhasesByGroup.
Referenced by Creature::Create(), npc_commandscript::HandleNpcSetPhaseGroup(), AuraEffect::HandlePhaseGroup(), ObjectMgr::LoadCreatures(), GameObject::LoadGameObjectFromDB(), ObjectMgr::LoadGameobjects(), and WorldObject::UpdateAreaPhase().
Definition at line 1351 of file DBCStores.cpp.
References PowersByClass.
Referenced by Unit::GetPowerIndex().
Definition at line 1013 of file DBCStores.cpp.
References ChrRacesEntry::name, and sChrRacesStore.
Referenced by misc_commandscript::HandlePInfoCommand().
Definition at line 932 of file DBCStores.cpp.
References sGenNameVectoArraysMap.
Referenced by WorldSession::HandleRandomizeCharNameOpcode().
Definition at line 1147 of file DBCStores.cpp.
References sClassBySkillIdStore.
Definition at line 1208 of file DBCStores.cpp.
References sSpecializationSpellsMap.
Referenced by CharacterBooster::_SetSpecialization(), Pet::LearnSpecializationSpells(), and Pet::UnlearnSpecializationSpells().
| std::list< uint32 > GetSpellsForLevels | ( | uint32 | classId, |
| uint32 | raceMask, | ||
| uint32 | specializationId, | ||
| uint32 | minLevel, | ||
| uint32 | maxLevel ) |
Definition at line 1155 of file DBCStores.cpp.
References SpellInfo::Id, SkillLineAbilityEntry::racemask, SkillLineAbilityEntry::spellId, SpellInfo::SpellLevel, sSpecializationSpellsMap, sSpellMgr, and sSpellsPerClassStore.
Referenced by Player::_LoadSpells(), Player::GiveLevel(), WorldSession::HandeSetTalentSpecialization(), and Player::ResetTalents().
Definition at line 968 of file DBCStores.cpp.
References GetTalentSpellPos().
Referenced by Pet::addSpell(), Player::addSpell(), ObjectMgr::AddSpellToTrainer(), SpellInfo::CheckShapeshift(), learn_commandscript::HandleLearnAllMySpellsCommand(), learn_commandscript::HandleLearnCommand(), list_commandscript::HandleListAurasCommand(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), learn_commandscript::HandleUnLearnCommand(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellLearnSpells(), Pet::removeSpell(), Player::removeSpell(), Player::resetSpells(), and Pet::resetTalentsForAllPetsOf().
| TalentSpellPos const * GetTalentSpellPos | ( | uint32 | spellId | ) |
Definition at line 959 of file DBCStores.cpp.
References sTalentSpellPosMap.
Referenced by Player::AddTalent(), GetTalentSpellCost(), Player::removeSpell(), and CharacterDatabaseCleaner::SpellCheck().
Definition at line 1034 of file DBCStores.cpp.
References sWorldMapAreaStore.
Referenced by SpellInfo::CheckLocation(), GetContentLevelsForMapAndZone(), and Player::IsKnowHowFlyIn().
| WMOAreaTableEntry const * GetWMOAreaTableEntryByTripple | ( | int32 | rootid, |
| int32 | adtid, | ||
| int32 | groupid ) |
Definition at line 985 of file DBCStores.cpp.
References sWMOAreaInfoByTripple.
Referenced by Map::GetAreaFlag(), and Map::IsOutdoors().
Definition at line 1093 of file DBCStores.cpp.
References TotemCategoryEntry::categoryMask, TotemCategoryEntry::categoryType, and sTotemCategoryStore.
| void LoadDBCStores | ( | const std::string & | dataPath | ) |
Definition at line 91 of file DBCStores.cpp.
Referenced by World::SetInitialWorldSettings().
| void Map2ZoneCoordinates | ( | float & | x, |
| float & | y, | ||
| uint32 | zone ) |
Definition at line 1126 of file DBCStores.cpp.
References sWorldMapAreaStore, WorldMapAreaEntry::x1, WorldMapAreaEntry::x2, WorldMapAreaEntry::y1, and WorldMapAreaEntry::y2.
Referenced by misc_commandscript::HandleGPSCommand().
| void Zone2MapCoordinates | ( | float & | x, |
| float & | y, | ||
| uint32 | zone ) |
Definition at line 1113 of file DBCStores.cpp.
References sWorldMapAreaStore, WorldMapAreaEntry::x1, WorldMapAreaEntry::x2, WorldMapAreaEntry::y1, and WorldMapAreaEntry::y2.
Referenced by go_commandscript::HandleGoZoneXYCommand().
|
extern |
|
extern |
Definition at line 234 of file DBCStores.cpp.
Referenced by WorldSession::HandleCharFactionOrRaceChange(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 193 of file DBCStores.cpp.
Referenced by GetClassBySkillId(), GetSkillIdByClass(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 235 of file DBCStores.cpp.
Referenced by WorldSession::HandleCharFactionOrRaceChange(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 233 of file DBCStores.cpp.
Referenced by WorldSession::HandleCharFactionOrRaceChange(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 150 of file DBCStores.cpp.
Referenced by GetDefaultMapDifficulty(), GetMapDifficultyData(), TransportMgr::LoadDBCStores, and InstanceSaveManager::LoadResetTimes().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 232 of file DBCStores.cpp.
Referenced by PlayerTaxi::InitTaxiNodesForClass(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
Definition at line 191 of file DBCStores.cpp.
Referenced by Pet::LearnPetPassives(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 194 of file DBCStores.cpp.
Referenced by TransportMgr::LoadDBCStores, and SpellEffectInfo::SpellEffectInfo().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 190 of file DBCStores.cpp.
Referenced by Player::AddSpellAndCategoryCooldowns(), TransportMgr::LoadDBCStores, Player::RemoveCategoryCooldown(), and Player::RemoveSpellCategoryCooldown().
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 192 of file DBCStores.cpp.
Referenced by GetSpellsForLevels(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 231 of file DBCStores.cpp.
Referenced by PlayerTaxi::AppendTaximaskTo(), ObjectMgr::GetNearestTaxiNode(), TransportMgr::LoadDBCStores, and PlayerTaxi::LoadTaxiMask().
|
extern |
|
extern |
Definition at line 242 of file DBCStores.cpp.
Referenced by Player::ContinueTaxiFlight(), TransportMgr::GeneratePath(), TransportMgr::LoadDBCStores, ObjectMgr::LoadEventScripts(), ObjectMgr::LoadGameObjectTemplate(), TransportMgr::LoadTransportTemplates(), MotionMaster::MoveTaxiFlight(), and LuaTaxiMgr::StartTaxi().
|
extern |
Definition at line 238 of file DBCStores.cpp.
Referenced by ObjectMgr::GetTaxiPath(), and TransportMgr::LoadDBCStores.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |