Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
DBCStores.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SKYFIRE_DBCSTORES_H
7#define SKYFIRE_DBCSTORES_H
8
9#include "Common.h"
10#include "DBCStore.h"
11#include "DBCStructure.h"
12
13#include <list>
14
15typedef std::list<uint32> SimpleFactionsList;
17
18char const* GetPetName(uint32 petfamily, uint32 dbclang);
21
22int32 GetAreaFlagByAreaID(uint32 area_id); // -1 if not found
26
27char const* GetRaceName(uint8 race, uint8 locale);
28char const* GetClassName(uint8 class_, uint8 locale);
29
31
33
34const std::string* GetRandomCharacterName(uint8 race, uint8 gender);
35
45
47
49
50bool IsTotemCategoryCompatiableWith(uint32 itemTotemCategoryId, uint32 requiredTotemCategoryId);
51
52void Zone2MapCoordinates(float& x, float& y, uint32 zone);
53void Map2ZoneCoordinates(float& x, float& y, uint32 zone);
56std::list<uint32> GetSpellsForLevels(uint32 classId, uint32 raceMask, uint32 specializationId, uint32 minLevel, uint32 maxLevel);
57std::vector<uint32> const* GetSpecializationSpells(uint32 specializationId);
58
59typedef std::unordered_map<uint32, std::unordered_map<uint32, MapDifficulty>> MapDifficultyMap;
63
64uint32 const* /*[MAX_TALENT_TABS]*/ GetClassSpecializations(uint8 classId);
65
66uint32 GetLiquidFlags(uint32 liquidType);
67
70
72
73typedef std::vector<std::pair<int32, int32> > DigsitePOIPolygon;
74typedef std::map<uint32 /*digsiteId*/, DigsitePOIPolygon> DigsitePOIPolygonContainer;
76
77uint32 GetPowerIndexByClass(uint32 powerType, uint32 classId);
78LFGDungeonEntry const* GetLFGDungeon(uint32 mapId, DifficultyID difficulty);
79std::set<uint32> const& GetPhasesForGroup(uint32 group);
80
81extern DBCStorage <AchievementEntry> sAchievementStore;
82//extern DBCStorage <AchievementCriteriaEntry> sAchievementCriteriaStore;
83extern DBCStorage <AreaTableEntry> sAreaStore;// recommend access using functions
84extern DBCStorage <AreaGroupEntry> sAreaGroupStore;
85//extern DBCStorage <AreaPOIEntry> sAreaPOIStore;
86extern DBCStorage <AreaTriggerEntry> sAreaTriggerStore;
87extern DBCStorage <ArmorLocationEntry> sArmorLocationStore;
88extern DBCStorage <AuctionHouseEntry> sAuctionHouseStore;
89extern DBCStorage <BankBagSlotPricesEntry> sBankBagSlotPricesStore;
90extern DBCStorage <BannedAddOnsEntry> sBannedAddOnsStore;
91extern DBCStorage <BarberShopStyleEntry> sBarberShopStyleStore;
92extern DBCStorage <BattlemasterListEntry> sBattlemasterListStore;
93extern DBCStorage <ChatChannelsEntry> sChatChannelsStore;
94extern DBCStorage <CharStartOutfitEntry> sCharStartOutfitStore;
95extern DBCStorage <CharTitlesEntry> sCharTitlesStore;
96extern DBCStorage <ChrClassesEntry> sChrClassesStore;
97extern DBCStorage <ChrRacesEntry> sChrRacesStore;
98extern DBCStorage <ChrPowerTypesEntry> sChrPowerTypesStore;
99extern DBCStorage <ChrSpecializationEntry> sChrSpecializationStore;
100extern DBCStorage <CinematicCameraEntry> sCinematicCameraStore;
101extern DBCStorage <CinematicSequencesEntry> sCinematicSequencesStore;
102extern DBCStorage <CreatureDisplayInfoEntry> sCreatureDisplayInfoStore;
103extern DBCStorage <CreatureFamilyEntry> sCreatureFamilyStore;
104extern DBCStorage <CreatureModelDataEntry> sCreatureModelDataStore;
105extern DBCStorage <CreatureSpellDataEntry> sCreatureSpellDataStore;
106extern DBCStorage <CreatureTypeEntry> sCreatureTypeStore;
107extern DBCStorage <CurrencyTypesEntry> sCurrencyTypesStore;
108extern DBCStorage <CriteriaEntry> sCriteriaStore;
109extern DBCStorage <CriteriaTreeEntry> sCriteriaTreeStore;
110extern DBCStorage <DestructibleModelDataEntry> sDestructibleModelDataStore;
111extern DBCStorage <DifficultyEntry> sDifficultyStore;
112extern DBCStorage <DungeonEncounterEntry> sDungeonEncounterStore;
113extern DBCStorage <DurabilityCostsEntry> sDurabilityCostsStore;
114extern DBCStorage <DurabilityQualityEntry> sDurabilityQualityStore;
115extern DBCStorage <EmotesEntry> sEmotesStore;
116extern DBCStorage <EmotesTextEntry> sEmotesTextStore;
117extern DBCStorage <FactionEntry> sFactionStore;
118extern DBCStorage <FactionTemplateEntry> sFactionTemplateStore;
119extern DBCStorage <GameObjectDisplayInfoEntry> sGameObjectDisplayInfoStore;
120extern DBCStorage <GemPropertiesEntry> sGemPropertiesStore;
121extern DBCStorage <GlyphPropertiesEntry> sGlyphPropertiesStore;
122extern DBCStorage <GlyphSlotEntry> sGlyphSlotStore;
123
124extern DBCStorage <GtBarberShopCostBaseEntry> sGtBarberShopCostBaseStore;
125extern DBCStorage <GtBattlePetXpEntry> sGtBattlePetXpStore;
126extern DBCStorage <GtCombatRatingsEntry> sGtCombatRatingsStore;
127extern DBCStorage <GtChanceToMeleeCritBaseEntry> sGtChanceToMeleeCritBaseStore;
128extern DBCStorage <GtChanceToMeleeCritEntry> sGtChanceToMeleeCritStore;
129extern DBCStorage <GtChanceToSpellCritBaseEntry> sGtChanceToSpellCritBaseStore;
130extern DBCStorage <GtChanceToSpellCritEntry> sGtChanceToSpellCritStore;
131extern DBCStorage <GtNPCManaCostScalerEntry> sGtNPCManaCostScalerStore;
132extern DBCStorage <GtOCTClassCombatRatingScalarEntry> sGtOCTClassCombatRatingScalarStore;
133extern DBCStorage <gtOCTHpPerStaminaEntry> sGtOCTHpPerStaminaStore;
134extern DBCStorage <GtRegenMPPerSptEntry> sGtRegenMPPerSptStore;
135extern DBCStorage <GtSpellScalingEntry> sGtSpellScalingStore;
136extern DBCStorage <GtOCTBaseHPByClassEntry> sGtOCTBaseHPByClassStore;
137extern DBCStorage <GtOCTBaseMPByClassEntry> sGtOCTBaseMPByClassStore;
138extern DBCStorage <GuildPerkSpellsEntry> sGuildPerkSpellsStore;
139extern DBCStorage <HolidaysEntry> sHolidaysStore;
140extern DBCStorage <ImportPriceArmorEntry> sImportPriceArmorStore;
141extern DBCStorage <ImportPriceQualityEntry> sImportPriceQualityStore;
142extern DBCStorage <ImportPriceShieldEntry> sImportPriceShieldStore;
143extern DBCStorage <ImportPriceWeaponEntry> sImportPriceWeaponStore;
144extern DBCStorage <ItemPriceBaseEntry> sItemPriceBaseStore;
145extern DBCStorage <ItemReforgeEntry> sItemReforgeStore;
146extern DBCStorage <ItemArmorQualityEntry> sItemArmorQualityStore;
147extern DBCStorage <ItemArmorShieldEntry> sItemArmorShieldStore;
148extern DBCStorage <ItemArmorTotalEntry> sItemArmorTotalStore;
149extern DBCStorage <ItemClassEntry> sItemClassStore;
150//extern DBCStorage <ItemBagFamilyEntry> sItemBagFamilyStore;
151extern DBCStorage <ItemDamageEntry> sItemDamageAmmoStore;
152extern DBCStorage <ItemDamageEntry> sItemDamageOneHandStore;
153extern DBCStorage <ItemDamageEntry> sItemDamageOneHandCasterStore;
154extern DBCStorage <ItemDamageEntry> sItemDamageRangedStore;
155extern DBCStorage <ItemDamageEntry> sItemDamageThrownStore;
156extern DBCStorage <ItemDamageEntry> sItemDamageTwoHandStore;
157extern DBCStorage <ItemDamageEntry> sItemDamageTwoHandCasterStore;
158extern DBCStorage <ItemDamageEntry> sItemDamageWandStore;
159//extern DBCStorage <ItemDisplayInfoEntry> sItemDisplayInfoStore; -- not used currently
160extern DBCStorage <ItemDisenchantLootEntry> sItemDisenchantLootStore;
161extern DBCStorage <ItemLimitCategoryEntry> sItemLimitCategoryStore;
162extern DBCStorage <ItemRandomPropertiesEntry> sItemRandomPropertiesStore;
163extern DBCStorage <ItemRandomSuffixEntry> sItemRandomSuffixStore;
164extern DBCStorage <ItemSetEntry> sItemSetStore;
165extern DBCStorage <LFGDungeonEntry> sLFGDungeonStore;
166extern DBCStorage <LiquidTypeEntry> sLiquidTypeStore;
167extern DBCStorage <LockEntry> sLockStore;
168extern DBCStorage <MailTemplateEntry> sMailTemplateStore;
169extern DBCStorage <MapEntry> sMapStore;
170extern DBCStorage <ModifierTreeEntry> sModifierTreeStore;
171extern DBCStorage <MountCapabilityEntry> sMountCapabilityStore;
172extern DBCStorage <MountTypeEntry> sMountTypeStore;
173extern DBCStorage <NameGenEntry> sNameGenStore;
174extern DBCStorage <PhaseEntry> sPhaseStore;
175extern DBCStorage <PhaseGroupEntry> sPhaseGroupStore;
176//extern DBCStorage <MapDifficultyEntry> sMapDifficultyStore; -- use GetMapDifficultyData insteed
178extern DBCStorage <MovieEntry> sMovieStore;
179extern DBCStorage <OverrideSpellDataEntry> sOverrideSpellDataStore;
180extern DBCStorage <QuestSortEntry> sQuestSortStore;
181extern DBCStorage <QuestXPEntry> sQuestXPStore;
182extern DBCStorage <QuestFactionRewEntry> sQuestFactionRewardStore;
183extern DBCStorage <QuestPOIPointEntry> sQuestPOIPointStore;
184extern DBCStorage <RandomPropertiesPointsEntry> sRandomPropertiesPointsStore;
185extern DBCStorage <ResearchBranchEntry> sResearchBranchStore;
186extern DBCStorage <ResearchProjectEntry> sResearchProjectStore;
187extern DBCStorage <ResearchSiteEntry> sResearchSiteStore;
188extern DBCStorage <ScalingStatDistributionEntry> sScalingStatDistributionStore;
189extern DBCStorage <ScalingStatValuesEntry> sScalingStatValuesStore;
190extern DBCStorage <SkillLineEntry> sSkillLineStore;
191extern DBCStorage <SkillLineAbilityEntry> sSkillLineAbilityStore;
192extern DBCStorage <SoundEntriesEntry> sSoundEntriesStore;
193extern DBCStorage <SpellCastTimesEntry> sSpellCastTimesStore;
194extern DBCStorage <SpellCategoryEntry> sSpellCategoryStore;
195extern DBCStorage <SpellDifficultyEntry> sSpellDifficultyStore;
196extern DBCStorage <SpellDurationEntry> sSpellDurationStore;
197extern DBCStorage <SpellFocusObjectEntry> sSpellFocusObjectStore;
198extern DBCStorage <SpellItemEnchantmentEntry> sSpellItemEnchantmentStore;
199extern DBCStorage <SpellItemEnchantmentConditionEntry> sSpellItemEnchantmentConditionStore;
205extern DBCStorage <SpecializationSpellsEntry> sSpecializationSpellsStore;
206extern DBCStorage <SpellRadiusEntry> sSpellRadiusStore;
207extern DBCStorage <SpellRangeEntry> sSpellRangeStore;
208extern DBCStorage <SpellRuneCostEntry> sSpellRuneCostStore;
209extern DBCStorage <SpellShapeshiftEntry> sSpellShapeshiftStore;
210extern DBCStorage <SpellShapeshiftFormEntry> sSpellShapeshiftFormStore;
211extern DBCStorage <SpellEntry> sSpellStore;
212extern DBCStorage <SpellMiscEntry> sSpellMiscStore;
213extern DBCStorage <SpellEffectScalingEntry> sSpellEffectScalingStore;
214extern DBCStorage <SpellAuraOptionsEntry> sSpellAuraOptionsStore;
215extern DBCStorage <SpellAuraRestrictionsEntry> sSpellAuraRestrictionsStore;
216extern DBCStorage <SpellCastingRequirementsEntry> sSpellCastingRequirementsStore;
217extern DBCStorage <SpellCategoriesEntry> sSpellCategoriesStore;
218extern DBCStorage <SpellClassOptionsEntry> sSpellClassOptionsStore;
219extern DBCStorage <SpellCooldownsEntry> sSpellCooldownsStore;
220extern DBCStorage <SpellEffectEntry> sSpellEffectStore;
221extern DBCStorage <SpellEquippedItemsEntry> sSpellEquippedItemsStore;
222extern DBCStorage <SpellInterruptsEntry> sSpellInterruptsStore;
223extern DBCStorage <SpellLevelsEntry> sSpellLevelsStore;
224extern DBCStorage <SpellPowerEntry> sSpellPowerStore;
225extern DBCStorage <SpellTargetRestrictionsEntry> sSpellTargetRestrictionsStore;
226extern DBCStorage <SpellTotemsEntry> sSpellTotemsStore;
227extern DBCStorage <SpellScalingEntry> sSpellScalingStore;
228extern DBCStorage <SummonPropertiesEntry> sSummonPropertiesStore;
229extern DBCStorage <TalentEntry> sTalentStore;
230extern DBCStorage <TaxiNodesEntry> sTaxiNodesStore;
231extern DBCStorage <TaxiPathEntry> sTaxiPathStore;
239extern DBCStorage <TotemCategoryEntry> sTotemCategoryStore;
240extern DBCStorage <UnitPowerBarEntry> sUnitPowerBarStore;
241extern DBCStorage <VehicleEntry> sVehicleStore;
242extern DBCStorage <VehicleSeatEntry> sVehicleSeatStore;
243extern DBCStorage <WMOAreaTableEntry> sWMOAreaTableStore;
244//extern DBCStorage <WorldMapAreaEntry> sWorldMapAreaStore; -- use Zone2MapCoordinates and Map2ZoneCoordinates
245extern DBCStorage <WorldMapOverlayEntry> sWorldMapOverlayStore;
246extern DBCStorage <WorldSafeLocsEntry> sWorldSafeLocsStore;
247
248void LoadDBCStores(const std::string& dataPath);
249
250#endif
DifficultyID
Definition DBCEnums.h:330
BattlegroundBracketId
Definition DBCEnums.h:28
DBCStorage< DurabilityQualityEntry > sDurabilityQualityStore(DurabilityQualityfmt)
DBCStorage< AreaTableEntry > sAreaStore(AreaTableEntryfmt)
DBCStorage< MovieEntry > sMovieStore(MovieEntryfmt)
DBCStorage< SpellItemEnchantmentEntry > sSpellItemEnchantmentStore(SpellItemEnchantmentfmt)
DBCStorage< RandomPropertiesPointsEntry > sRandomPropertiesPointsStore(RandomPropertiesPointsfmt)
DBCStorage< CharTitlesEntry > sCharTitlesStore(CharTitlesEntryfmt)
DBCStorage< ResearchSiteEntry > sResearchSiteStore(ResearchSitefmt)
DBCStorage< NameGenEntry > sNameGenStore(NameGenfmt)
DBCStorage< VehicleSeatEntry > sVehicleSeatStore(VehicleSeatEntryfmt)
DBCStorage< ItemArmorQualityEntry > sItemArmorQualityStore(ItemArmorQualityfmt)
DBCStorage< FactionEntry > sFactionStore(FactionEntryfmt)
DBCStorage< SpellShapeshiftFormEntry > sSpellShapeshiftFormStore(SpellShapeshiftFormfmt)
DBCStorage< ChrPowerTypesEntry > sChrPowerTypesStore(ChrClassesXPowerTypesfmt)
DBCStorage< ScalingStatDistributionEntry > sScalingStatDistributionStore(ScalingStatDistributionfmt)
TaxiMask sAllianceTaxiNodesMask
DBCStorage< CriteriaTreeEntry > sCriteriaTreeStore(CriteriaTreefmt)
DBCStorage< ItemSetEntry > sItemSetStore(ItemSetEntryfmt)
DBCStorage< WorldSafeLocsEntry > sWorldSafeLocsStore(WorldSafeLocsEntryfmt)
DBCStorage< DestructibleModelDataEntry > sDestructibleModelDataStore(DestructibleModelDatafmt)
DBCStorage< GlyphSlotEntry > sGlyphSlotStore(GlyphSlotfmt)
TaxiPathSetBySource sTaxiPathSetBySource
DBCStorage< LFGDungeonEntry > sLFGDungeonStore(LFGDungeonEntryfmt)
DBCStorage< MailTemplateEntry > sMailTemplateStore(MailTemplateEntryfmt)
DBCStorage< GtChanceToSpellCritBaseEntry > sGtChanceToSpellCritBaseStore(GtChanceToSpellCritBasefmt)
DBCStorage< VehicleEntry > sVehicleStore(VehicleEntryfmt)
ClassBySkillIdStore sClassBySkillIdStore
DBCStorage< ItemLimitCategoryEntry > sItemLimitCategoryStore(ItemLimitCategoryEntryfmt)
DBCStorage< SpellRadiusEntry > sSpellRadiusStore(SpellRadiusfmt)
DBCStorage< SpellLevelsEntry > sSpellLevelsStore(SpellLevelsEntryfmt)
DBCStorage< SummonPropertiesEntry > sSummonPropertiesStore(SummonPropertiesfmt)
SpellEffectScallingByEffectId sSpellEffectScallingByEffectId
SpellCategoryStore sSpellsByCategoryStore
DBCStorage< UnitPowerBarEntry > sUnitPowerBarStore(UnitPowerBarfmt)
TaxiMask sTaxiNodesMask
DBCStorage< SpellClassOptionsEntry > sSpellClassOptionsStore(SpellClassOptionsEntryfmt)
DBCStorage< QuestPOIPointEntry > sQuestPOIPointStore(QuestPOIPointfmt)
DBCStorage< ScalingStatValuesEntry > sScalingStatValuesStore(ScalingStatValuesfmt)
DBCStorage< GtOCTBaseHPByClassEntry > sGtOCTBaseHPByClassStore(GtOCTBaseHPByClassfmt)
DBCStorage< CharStartOutfitEntry > sCharStartOutfitStore(CharStartOutfitEntryfmt)
DBCStorage< QuestFactionRewEntry > sQuestFactionRewardStore(QuestFactionRewardfmt)
DBCStorage< SpellInterruptsEntry > sSpellInterruptsStore(SpellInterruptsEntryfmt)
DBCStorage< GtCombatRatingsEntry > sGtCombatRatingsStore(GtCombatRatingsfmt)
DBCStorage< LockEntry > sLockStore(LockEntryfmt)
DBCStorage< SpellAuraOptionsEntry > sSpellAuraOptionsStore(SpellAuraOptionsEntryfmt)
TaxiPathNodesByPath sTaxiPathNodesByPath
DBCStorage< SpellCategoryEntry > sSpellCategoryStore(SpellCategoryfmt)
DBCStorage< ChatChannelsEntry > sChatChannelsStore(ChatChannelsEntryfmt)
DBCStorage< ItemDamageEntry > sItemDamageOneHandCasterStore(ItemDamagefmt)
DBCStorage< BankBagSlotPricesEntry > sBankBagSlotPricesStore(BankBagSlotPricesEntryfmt)
DBCStorage< BattlemasterListEntry > sBattlemasterListStore(BattlemasterListEntryfmt)
DBCStorage< CreatureSpellDataEntry > sCreatureSpellDataStore(CreatureSpellDatafmt)
MapDifficultyMap sMapDifficultyMap
DBCStorage< CreatureDisplayInfoEntry > sCreatureDisplayInfoStore(CreatureDisplayInfofmt)
DBCStorage< SpellItemEnchantmentConditionEntry > sSpellItemEnchantmentConditionStore(SpellItemEnchantmentConditionfmt)
DBCStorage< SpellCastTimesEntry > sSpellCastTimesStore(SpellCastTimefmt)
DBCStorage< SpellRangeEntry > sSpellRangeStore(SpellRangefmt)
DBCStorage< BarberShopStyleEntry > sBarberShopStyleStore(BarberShopStyleEntryfmt)
DBCStorage< SpellMiscEntry > sSpellMiscStore(SpellMiscfmt)
DBCStorage< ChrRacesEntry > sChrRacesStore(ChrRacesEntryfmt)
DBCStorage< ImportPriceShieldEntry > sImportPriceShieldStore(ImportPriceShieldfmt)
DBCStorage< SpellRuneCostEntry > sSpellRuneCostStore(SpellRuneCostfmt)
DBCStorage< SpellTargetRestrictionsEntry > sSpellTargetRestrictionsStore(SpellTargetRestrictionsEntryfmt)
DBCStorage< GtChanceToSpellCritEntry > sGtChanceToSpellCritStore(GtChanceToSpellCritfmt)
DBCStorage< SpellDifficultyEntry > sSpellDifficultyStore(SpellDifficultyfmt)
TaxiMask sOldContinentsNodesMask
SpellsPerClassStore sSpellsPerClassStore
DBCStorage< SpellEquippedItemsEntry > sSpellEquippedItemsStore(SpellEquippedItemsEntryfmt)
DBCStorage< ModifierTreeEntry > sModifierTreeStore(ModifierTreefmt)
DBCStorage< SpellPowerEntry > sSpellPowerStore(SpellPowerEntryfmt)
DBCStorage< OverrideSpellDataEntry > sOverrideSpellDataStore(OverrideSpellDatafmt)
DBCStorage< GameObjectDisplayInfoEntry > sGameObjectDisplayInfoStore(GameObjectDisplayInfofmt)
DBCStorage< MountCapabilityEntry > sMountCapabilityStore(MountCapabilityfmt)
DBCStorage< SpellTotemsEntry > sSpellTotemsStore(SpellTotemsEntryfmt)
DBCStorage< ItemDamageEntry > sItemDamageRangedStore(ItemDamagefmt)
DBCStorage< ItemDamageEntry > sItemDamageAmmoStore(ItemDamagefmt)
TaxiMask sDeathKnightTaxiNodesMask
DBCStorage< AreaTriggerEntry > sAreaTriggerStore(AreaTriggerEntryfmt)
DBCStorage< ItemDisenchantLootEntry > sItemDisenchantLootStore(ItemDisenchantLootfmt)
DBCStorage< HolidaysEntry > sHolidaysStore(Holidaysfmt)
DBCStorage< ItemClassEntry > sItemClassStore(ItemClassfmt)
DBCStorage< ResearchBranchEntry > sResearchBranchStore(ResearchBranchfmt)
DBCStorage< SpellShapeshiftEntry > sSpellShapeshiftStore(SpellShapeshiftEntryfmt)
DBCStorage< ResearchProjectEntry > sResearchProjectStore(ResearchProjectfmt)
DBCStorage< SpellAuraRestrictionsEntry > sSpellAuraRestrictionsStore(SpellAuraRestrictionsEntryfmt)
DBCStorage< PhaseGroupEntry > sPhaseGroupStore(PhaseGroupfmt)
DBCStorage< GtBattlePetXpEntry > sGtBattlePetXpStore(GtBattlePetXpfmt)
DBCStorage< GtOCTClassCombatRatingScalarEntry > sGtOCTClassCombatRatingScalarStore(GtOCTClassCombatRatingScalarfmt)
DBCStorage< BannedAddOnsEntry > sBannedAddOnsStore(BannedAddOnsfmt)
DBCStorage< ItemRandomSuffixEntry > sItemRandomSuffixStore(ItemRandomSuffixfmt)
DBCStorage< SoundEntriesEntry > sSoundEntriesStore(SoundEntriesfmt)
DBCStorage< EmotesTextEntry > sEmotesTextStore(EmotesTextEntryfmt)
DBCStorage< AchievementEntry > sAchievementStore(Achievementfmt)
DBCStorage< TotemCategoryEntry > sTotemCategoryStore(TotemCategoryEntryfmt)
DBCStorage< ItemDamageEntry > sItemDamageWandStore(ItemDamagefmt)
DBCStorage< ImportPriceArmorEntry > sImportPriceArmorStore(ImportPriceArmorfmt)
DBCStorage< QuestSortEntry > sQuestSortStore(QuestSortEntryfmt)
DBCStorage< GtRegenMPPerSptEntry > sGtRegenMPPerSptStore(GtRegenMPPerSptfmt)
DBCStorage< DurabilityCostsEntry > sDurabilityCostsStore(DurabilityCostsfmt)
DBCStorage< ItemPriceBaseEntry > sItemPriceBaseStore(ItemPriceBasefmt)
DBCStorage< WorldMapOverlayEntry > sWorldMapOverlayStore(WorldMapOverlayEntryfmt)
DBCStorage< SpellCastingRequirementsEntry > sSpellCastingRequirementsStore(SpellCastingRequirementsEntryfmt)
DBCStorage< GtChanceToMeleeCritBaseEntry > sGtChanceToMeleeCritBaseStore(GtChanceToMeleeCritBasefmt)
DBCStorage< ArmorLocationEntry > sArmorLocationStore(ArmorLocationfmt)
DBCStorage< ItemArmorTotalEntry > sItemArmorTotalStore(ItemArmorTotalfmt)
DBCStorage< GemPropertiesEntry > sGemPropertiesStore(GemPropertiesEntryfmt)
DBCStorage< ItemRandomPropertiesEntry > sItemRandomPropertiesStore(ItemRandomPropertiesfmt)
DBCStorage< DifficultyEntry > sDifficultyStore(Difficultyfmt)
DBCStorage< DungeonEncounterEntry > sDungeonEncounterStore(DungeonEncounterfmt)
DBCStorage< GtNPCManaCostScalerEntry > sGtNPCManaCostScalerStore(GtNPCManaCostScalerfmt)
DBCStorage< SpellEntry > sSpellStore(SpellEntryfmt)
DBCStorage< AreaGroupEntry > sAreaGroupStore(AreaGroupEntryfmt)
DBCStorage< QuestXPEntry > sQuestXPStore(QuestXPfmt)
DBCStorage< SkillLineEntry > sSkillLineStore(SkillLinefmt)
DBCStorage< PhaseEntry > sPhaseStore(PhaseEntryfmt)
DBCStorage< SpellEffectEntry > sSpellEffectStore(SpellEffectEntryfmt)
DBCStorage< CreatureFamilyEntry > sCreatureFamilyStore(CreatureFamilyfmt)
DBCStorage< FactionTemplateEntry > sFactionTemplateStore(FactionTemplateEntryfmt)
DBCStorage< ItemDamageEntry > sItemDamageThrownStore(ItemDamagefmt)
DBCStorage< TaxiPathEntry > sTaxiPathStore(TaxiPathEntryfmt)
DBCStorage< GtSpellScalingEntry > sGtSpellScalingStore(GtSpellScalingfmt)
DBCStorage< WMOAreaTableEntry > sWMOAreaTableStore(WMOAreaTableEntryfmt)
DBCStorage< GtOCTBaseMPByClassEntry > sGtOCTBaseMPByClassStore(GtOCTBaseMPByClassfmt)
DBCStorage< TalentEntry > sTalentStore(TalentEntryfmt)
DBCStorage< TaxiNodesEntry > sTaxiNodesStore(TaxiNodesEntryfmt)
DBCStorage< SpellDurationEntry > sSpellDurationStore(SpellDurationfmt)
DBCStorage< gtOCTHpPerStaminaEntry > sGtOCTHpPerStaminaStore(GtOCTHpPerStaminafmt)
DBCStorage< SpellFocusObjectEntry > sSpellFocusObjectStore(SpellFocusObjectfmt)
DBCStorage< AuctionHouseEntry > sAuctionHouseStore(AuctionHouseEntryfmt)
DBCStorage< ItemReforgeEntry > sItemReforgeStore(ItemReforgefmt)
DBCStorage< ItemDamageEntry > sItemDamageOneHandStore(ItemDamagefmt)
DBCStorage< ItemDamageEntry > sItemDamageTwoHandStore(ItemDamagefmt)
DBCStorage< ImportPriceQualityEntry > sImportPriceQualityStore(ImportPriceQualityfmt)
DBCStorage< ChrSpecializationEntry > sChrSpecializationStore(ChrSpecializationfmt)
DBCStorage< MapEntry > sMapStore(MapEntryfmt)
DBCStorage< SpellCooldownsEntry > sSpellCooldownsStore(SpellCooldownsEntryfmt)
DBCStorage< GlyphPropertiesEntry > sGlyphPropertiesStore(GlyphPropertiesfmt)
DBCStorage< CreatureModelDataEntry > sCreatureModelDataStore(CreatureModelDatafmt)
DBCStorage< SpellCategoriesEntry > sSpellCategoriesStore(SpellCategoriesEntryfmt)
DBCStorage< CreatureTypeEntry > sCreatureTypeStore(CreatureTypefmt)
DBCStorage< MountTypeEntry > sMountTypeStore(MountTypefmt)
PetFamilySpellsStore sPetFamilySpellsStore
DBCStorage< CinematicSequencesEntry > sCinematicSequencesStore(CinematicSequencesEntryfmt)
DBCStorage< GtBarberShopCostBaseEntry > sGtBarberShopCostBaseStore(GtBarberShopCostBasefmt)
DBCStorage< CinematicCameraEntry > sCinematicCameraStore(CinematicCameraEntryfmt)
DBCStorage< SpecializationSpellsEntry > sSpecializationSpellsStore(SpecializationSpellsfmt)
DBCStorage< SpellEffectScalingEntry > sSpellEffectScalingStore(SpellEffectScalingfmt)
DBCStorage< GuildPerkSpellsEntry > sGuildPerkSpellsStore(GuildPerkSpellsfmt)
DBCStorage< SkillLineAbilityEntry > sSkillLineAbilityStore(SkillLineAbilityfmt)
DBCStorage< ChrClassesEntry > sChrClassesStore(ChrClassesEntryfmt)
DBCStorage< CurrencyTypesEntry > sCurrencyTypesStore(CurrencyTypesfmt)
DBCStorage< EmotesEntry > sEmotesStore(EmotesEntryfmt)
DBCStorage< GtChanceToMeleeCritEntry > sGtChanceToMeleeCritStore(GtChanceToMeleeCritfmt)
DBCStorage< LiquidTypeEntry > sLiquidTypeStore(LiquidTypefmt)
DBCStorage< ItemArmorShieldEntry > sItemArmorShieldStore(ItemArmorShieldfmt)
DBCStorage< SpellScalingEntry > sSpellScalingStore(SpellScalingEntryfmt)
DBCStorage< ImportPriceWeaponEntry > sImportPriceWeaponStore(ImportPriceWeaponfmt)
TaxiMask sHordeTaxiNodesMask
DBCStorage< CriteriaEntry > sCriteriaStore(Criteriafmt)
DBCStorage< ItemDamageEntry > sItemDamageTwoHandCasterStore(ItemDamagefmt)
ContentLevels
Definition DBCStores.h:37
@ CONTENT_61_70
Definition DBCStores.h:39
@ CONTENT_71_80
Definition DBCStores.h:40
@ CONTENT_1_60
Definition DBCStores.h:38
@ CONTENT_86_90
Definition DBCStores.h:42
@ CONTENT_81_85
Definition DBCStores.h:41
@ MAX_CONTENT
Definition DBCStores.h:43
char const * GetClassName(uint8 class_, uint8 locale)
ContentLevels GetContentLevelsForMapAndZone(uint32 mapid, uint32 zoneId)
std::list< uint32 > SimpleFactionsList
Definition DBCStores.h:15
DigsitePOIPolygon const * GetDigsitePOIPolygon(uint32 digsiteId)
void Zone2MapCoordinates(float &x, float &y, uint32 zone)
const std::string * GetRandomCharacterName(uint8 race, uint8 gender)
void Map2ZoneCoordinates(float &x, float &y, uint32 zone)
int32 GetAreaFlagByAreaID(uint32 area_id)
char const * GetPetName(uint32 petfamily, uint32 dbclang)
uint32 GetAreaFlagByMapId(uint32 mapid)
MapDifficulty const * GetMapDifficultyData(uint32 mapId, DifficultyID difficulty)
bool IsTotemCategoryCompatiableWith(uint32 itemTotemCategoryId, uint32 requiredTotemCategoryId)
TalentSpellPos const * GetTalentSpellPos(uint32 spellId)
std::unordered_map< uint32, std::unordered_map< uint32, MapDifficulty > > MapDifficultyMap
Definition DBCStores.h:59
uint32 GetLiquidFlags(uint32 liquidType)
LFGDungeonEntry const * GetLFGDungeon(uint32 mapId, DifficultyID difficulty)
Returns LFGDungeonEntry for a specific map and difficulty. Will return first found entry if multiple ...
uint32 GetTalentSpellCost(uint32 spellId)
PvPDifficultyEntry const * GetBattlegroundBracketByLevel(uint32 mapid, uint32 level)
uint32 GetVirtualMapForMapAndZone(uint32 mapid, uint32 zoneId)
std::vector< uint32 > const * GetSpecializationSpells(uint32 specializationId)
AreaTableEntry const * GetAreaEntryByAreaFlagAndMap(uint32 area_flag, uint32 map_id)
uint32 GetSkillIdByClass(uint32 classId)
char const * GetRaceName(uint8 race, uint8 locale)
std::set< uint32 > const & GetPhasesForGroup(uint32 group)
PvPDifficultyEntry const * GetBattlegroundBracketById(uint32 mapid, BattlegroundBracketId id)
MapDifficulty const * GetDownscaledMapDifficultyData(uint32 mapId, DifficultyID &difficulty)
uint32 const * GetClassSpecializations(uint8 classId)
uint32 GetPowerIndexByClass(uint32 powerType, uint32 classId)
CharStartOutfitEntry const * GetCharStartOutfitEntry(uint8 race, uint8 class_, uint8 gender)
MapDifficulty const * GetDefaultMapDifficulty(uint32 mapId)
std::list< uint32 > GetSpellsForLevels(uint32 classId, uint32 raceMask, uint32 specializationId, uint32 minLevel, uint32 maxLevel)
uint32 GetClassBySkillId(uint32 skillId)
AreaTableEntry const * GetAreaEntryByAreaID(uint32 area_id)
std::map< uint32, DigsitePOIPolygon > DigsitePOIPolygonContainer
Definition DBCStores.h:74
void LoadDBCStores(const std::string &dataPath)
SimpleFactionsList const * GetFactionTeamList(uint32 faction)
WMOAreaTableEntry const * GetWMOAreaTableEntryByTripple(int32 rootid, int32 adtid, int32 groupid)
uint32 GetMaxLevelForExpansion(uint32 expansion)
std::vector< std::pair< int32, int32 > > DigsitePOIPolygon
Definition DBCStores.h:73
std::vector< TaxiPathNodeList > TaxiPathNodesByPath
std::map< uint32, PetFamilySpellsSet > PetFamilySpellsStore
UNORDERED_MAP< uint32, uint32 > ClassBySkillIdStore
std::map< uint32, SpellCategorySet > SpellCategoryStore
std::map< uint32, TaxiPathSetForSource > TaxiPathSetBySource
UNORDERED_MAP< uint32, std::list< SkillLineAbilityEntry const * > > SpellsPerClassStore
UNORDERED_MAP< uint32, uint32 > SpellEffectScallingByEffectId
uint8 TaxiMask[TaxiMaskSize]
std::int32_t int32
Definition Define.h:73
std::uint8_t uint8
Definition Define.h:79
std::uint32_t uint32
Definition Define.h:77