TrinityCore
Loading...
Searching...
No Matches
DBCStores.cpp File Reference
#include "DBCStores.h"
#include "DBCFileLoader.h"
#include "DBCfmt.h"
#include "Containers.h"
#include "Errors.h"
#include "IteratorPair.h"
#include "Log.h"
#include "ObjectDefines.h"
#include "Regex.h"
#include "SharedDefines.h"
#include "SpellMgr.h"
#include "Timer.h"
+ Include dependency graph for DBCStores.cpp:

Go to the source code of this file.

Macros

#define LOAD_DBC(store, file)   LoadDBC(availableDbcLocales, bad_dbc_files, store, dbcPath, file)
 
#define LOAD_DBC_EXT(store, file, dbtable, dbformat, dbpk)   LoadDBC(availableDbcLocales, bad_dbc_files, store, dbcPath, file, dbtable, dbformat, dbpk)
 

Typedefs

typedef std::map< uint16, uint32AreaFlagByAreaID
 
typedef std::map< uint32, uint32AreaFlagByMapID
 
typedef std::tuple< int16, int8, int32WMOAreaTableKey
 
typedef std::map< WMOAreaTableKey, WMOAreaTableEntry const * > WMOAreaInfoByTripple
 
typedef std::tuple< uint32, uint32, uint32EmotesTextSoundKey
 
typedef std::map< uint32, SimpleFactionsListFactionTeamMap
 
typedef std::array< std::vector< Trinity::wregex >, TOTAL_LOCALESNameValidationRegexContainer
 
typedef std::list< std::string > StoreProblemList
 

Functions

static bool LoadDBC_assert_print (uint32 fsize, uint32 rsize, const std::string &filename)
 
template<class T >
void LoadDBC (uint32 &availableDbcLocales, StoreProblemList &errors, DBCStorage< T > &storage, std::string const &dbcPath, std::string const &filename, char const *dbTable=nullptr, char const *dbFormat=nullptr, char const *dbIndexName=nullptr)
 
void LoadDBCStores (const std::string &dataPath)
 
SimpleFactionsList const * GetFactionTeamList (uint32 faction)
 
char const * GetPetName (uint32 petfamily, uint32 dbclang)
 
TalentSpellPos const * GetTalentSpellPos (uint32 spellId)
 
uint32 GetTalentSpellCost (uint32 spellId)
 
WMOAreaTableEntry const * GetWMOAreaTableEntryByTripple (int32 rootid, int32 adtid, int32 groupid)
 
char const * GetRaceName (uint8 race, uint8 locale)
 
char const * GetClassName (uint8 class_, uint8 locale)
 
uint32 GetVirtualMapForMapAndZone (uint32 mapid, uint32 zoneId)
 
ContentLevels GetContentLevelsForMapAndZone (uint32 mapid, uint32 zoneId)
 
bool IsTotemCategoryCompatiableWith (uint32 itemTotemCategoryId, uint32 requiredTotemCategoryId)
 
void Zone2MapCoordinates (float &x, float &y, uint32 zone)
 
void Map2ZoneCoordinates (float &x, float &y, uint32 zone)
 
MapDifficulty const * GetMapDifficultyData (uint32 mapId, Difficulty difficulty)
 
MapDifficulty const * GetDownscaledMapDifficultyData (uint32 mapId, Difficulty &difficulty)
 
PvPDifficultyEntry const * GetBattlegroundBracketByLevel (uint32 mapid, uint32 level)
 
PvPDifficultyEntry const * GetBattlegroundBracketById (uint32 mapid, BattlegroundBracketId id)
 
uint32 const * GetTalentTabPages (uint8 cls)
 
uint32 GetLiquidFlags (uint32 liquidType)
 
CharacterFacialHairStylesEntry const * GetCharFacialHairEntry (uint8 race, uint8 gender, uint8 facialHairID)
 
CharSectionsEntry const * GetCharSectionEntry (uint8 race, CharSectionType genType, uint8 gender, uint8 type, uint8 color)
 
CharStartOutfitEntry const * GetCharStartOutfitEntry (uint8 race, uint8 class_, uint8 gender)
 
LFGDungeonEntry const * GetLFGDungeon (uint32 mapId, Difficulty 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)
 
uint32 GetDefaultMapLight (uint32 mapId)
 
std::vector< SkillLineAbilityEntry const * > const * GetSkillLineAbilitiesBySkill (uint32 skillLine)
 
SkillRaceClassInfoEntry const * GetSkillRaceClassInfo (uint32 skill, uint8 race, uint8 class_)
 
ResponseCodes ValidateName (std::wstring const &name, LocaleConstant locale)
 
EmotesTextSoundEntry const * FindTextSoundEmoteFor (uint32 emote, uint32 race, uint32 gender)
 

Variables

DBCStorage< AreaTableEntrysAreaTableStore (AreaTableEntryfmt)
 
DBCStorage< AreaGroupEntrysAreaGroupStore (AreaGroupEntryfmt)
 
static WMOAreaInfoByTripple sWMOAreaInfoByTripple
 
DBCStorage< AchievementEntrysAchievementStore (Achievementfmt)
 
DBCStorage< AchievementCriteriaEntrysAchievementCriteriaStore (AchievementCriteriafmt)
 
DBCStorage< AreaTriggerEntrysAreaTriggerStore (AreaTriggerEntryfmt)
 
DBCStorage< AuctionHouseEntrysAuctionHouseStore (AuctionHouseEntryfmt)
 
DBCStorage< BankBagSlotPricesEntrysBankBagSlotPricesStore (BankBagSlotPricesEntryfmt)
 
DBCStorage< BannedAddOnsEntrysBannedAddOnsStore (BannedAddOnsfmt)
 
DBCStorage< BattlemasterListEntrysBattlemasterListStore (BattlemasterListEntryfmt)
 
DBCStorage< BarberShopStyleEntrysBarberShopStyleStore (BarberShopStyleEntryfmt)
 
DBCStorage< CharacterFacialHairStylesEntrysCharacterFacialHairStylesStore (CharacterFacialHairStylesfmt)
 
std::unordered_map< uint32, CharacterFacialHairStylesEntry const * > sCharFacialHairMap
 
DBCStorage< CharSectionsEntrysCharSectionsStore (CharSectionsEntryfmt)
 
std::unordered_multimap< uint32, CharSectionsEntry const * > sCharSectionMap
 
DBCStorage< CharStartOutfitEntrysCharStartOutfitStore (CharStartOutfitEntryfmt)
 
std::map< uint32, CharStartOutfitEntry const * > sCharStartOutfitMap
 
DBCStorage< CharTitlesEntrysCharTitlesStore (CharTitlesEntryfmt)
 
DBCStorage< ChatChannelsEntrysChatChannelsStore (ChatChannelsEntryfmt)
 
DBCStorage< ChrClassesEntrysChrClassesStore (ChrClassesEntryfmt)
 
DBCStorage< ChrRacesEntrysChrRacesStore (ChrRacesEntryfmt)
 
DBCStorage< CinematicCameraEntrysCinematicCameraStore (CinematicCameraEntryfmt)
 
DBCStorage< CinematicSequencesEntrysCinematicSequencesStore (CinematicSequencesEntryfmt)
 
DBCStorage< CreatureDisplayInfoEntrysCreatureDisplayInfoStore (CreatureDisplayInfofmt)
 
DBCStorage< CreatureDisplayInfoExtraEntrysCreatureDisplayInfoExtraStore (CreatureDisplayInfoExtrafmt)
 
DBCStorage< CreatureFamilyEntrysCreatureFamilyStore (CreatureFamilyfmt)
 
DBCStorage< CreatureModelDataEntrysCreatureModelDataStore (CreatureModelDatafmt)
 
DBCStorage< CreatureSpellDataEntrysCreatureSpellDataStore (CreatureSpellDatafmt)
 
DBCStorage< CreatureTypeEntrysCreatureTypeStore (CreatureTypefmt)
 
DBCStorage< CurrencyTypesEntrysCurrencyTypesStore (CurrencyTypesfmt)
 
DBCStorage< DestructibleModelDataEntrysDestructibleModelDataStore (DestructibleModelDatafmt)
 
DBCStorage< DungeonEncounterEntrysDungeonEncounterStore (DungeonEncounterfmt)
 
DBCStorage< DurabilityQualityEntrysDurabilityQualityStore (DurabilityQualityfmt)
 
DBCStorage< DurabilityCostsEntrysDurabilityCostsStore (DurabilityCostsfmt)
 
DBCStorage< EmotesEntrysEmotesStore (EmotesEntryfmt)
 
DBCStorage< EmotesTextEntrysEmotesTextStore (EmotesTextEntryfmt)
 
static std::map< EmotesTextSoundKey, EmotesTextSoundEntry const * > sEmotesTextSoundMap
 
DBCStorage< EmotesTextSoundEntrysEmotesTextSoundStore (EmotesTextSoundEntryfmt)
 
static FactionTeamMap sFactionTeamMap
 
DBCStorage< FactionEntrysFactionStore (FactionEntryfmt)
 
DBCStorage< FactionTemplateEntrysFactionTemplateStore (FactionTemplateEntryfmt)
 
DBCStorage< GameObjectArtKitEntrysGameObjectArtKitStore (GameObjectArtKitfmt)
 
DBCStorage< GameObjectDisplayInfoEntrysGameObjectDisplayInfoStore (GameObjectDisplayInfofmt)
 
DBCStorage< GemPropertiesEntrysGemPropertiesStore (GemPropertiesEntryfmt)
 
DBCStorage< GlyphPropertiesEntrysGlyphPropertiesStore (GlyphPropertiesfmt)
 
DBCStorage< GlyphSlotEntrysGlyphSlotStore (GlyphSlotfmt)
 
DBCStorage< GtBarberShopCostBaseEntrysGtBarberShopCostBaseStore (GtBarberShopCostBasefmt)
 
DBCStorage< GtCombatRatingsEntrysGtCombatRatingsStore (GtCombatRatingsfmt)
 
DBCStorage< GtChanceToMeleeCritBaseEntrysGtChanceToMeleeCritBaseStore (GtChanceToMeleeCritBasefmt)
 
DBCStorage< GtChanceToMeleeCritEntrysGtChanceToMeleeCritStore (GtChanceToMeleeCritfmt)
 
DBCStorage< GtChanceToSpellCritBaseEntrysGtChanceToSpellCritBaseStore (GtChanceToSpellCritBasefmt)
 
DBCStorage< GtChanceToSpellCritEntrysGtChanceToSpellCritStore (GtChanceToSpellCritfmt)
 
DBCStorage< GtNPCManaCostScalerEntrysGtNPCManaCostScalerStore (GtNPCManaCostScalerfmt)
 
DBCStorage< GtOCTClassCombatRatingScalarEntrysGtOCTClassCombatRatingScalarStore (GtOCTClassCombatRatingScalarfmt)
 
DBCStorage< GtOCTRegenHPEntrysGtOCTRegenHPStore (GtOCTRegenHPfmt)
 
DBCStorage< GtRegenHPPerSptEntrysGtRegenHPPerSptStore (GtRegenHPPerSptfmt)
 
DBCStorage< GtRegenMPPerSptEntrysGtRegenMPPerSptStore (GtRegenMPPerSptfmt)
 
DBCStorage< HolidaysEntrysHolidaysStore (Holidaysfmt)
 
DBCStorage< ItemEntrysItemStore (Itemfmt)
 
DBCStorage< ItemBagFamilyEntrysItemBagFamilyStore (ItemBagFamilyfmt)
 
DBCStorage< ItemExtendedCostEntrysItemExtendedCostStore (ItemExtendedCostEntryfmt)
 
DBCStorage< ItemLimitCategoryEntrysItemLimitCategoryStore (ItemLimitCategoryEntryfmt)
 
DBCStorage< ItemRandomPropertiesEntrysItemRandomPropertiesStore (ItemRandomPropertiesfmt)
 
DBCStorage< ItemRandomSuffixEntrysItemRandomSuffixStore (ItemRandomSuffixfmt)
 
DBCStorage< ItemSetEntrysItemSetStore (ItemSetEntryfmt)
 
DBCStorage< LFGDungeonEntrysLFGDungeonStore (LFGDungeonEntryfmt)
 
DBCStorage< LFGDungeonExpansionEntrysLFGDungeonExpansionStore (LFGDungeonExpansionfmt)
 
DBCStorage< LightEntrysLightStore (LightEntryfmt)
 
DBCStorage< LiquidTypeEntrysLiquidTypeStore (LiquidTypefmt)
 
DBCStorage< LockEntrysLockStore (LockEntryfmt)
 
DBCStorage< MailTemplateEntrysMailTemplateStore (MailTemplateEntryfmt)
 
DBCStorage< MapEntrysMapStore (MapEntryfmt)
 
DBCStorage< MapDifficultyEntrysMapDifficultyStore (MapDifficultyEntryfmt)
 
MapDifficultyMap sMapDifficultyMap
 
DBCStorage< MovieEntrysMovieStore (MovieEntryfmt)
 
DBCStorage< NamesProfanityEntrysNamesProfanityStore (NamesProfanityEntryfmt)
 
DBCStorage< NamesReservedEntrysNamesReservedStore (NamesReservedEntryfmt)
 
NameValidationRegexContainer NamesProfaneValidators
 
NameValidationRegexContainer NamesReservedValidators
 
DBCStorage< OverrideSpellDataEntrysOverrideSpellDataStore (OverrideSpellDatafmt)
 
DBCStorage< PowerDisplayEntrysPowerDisplayStore (PowerDisplayfmt)
 
DBCStorage< PvPDifficultyEntrysPvPDifficultyStore (PvPDifficultyfmt)
 
DBCStorage< QuestSortEntrysQuestSortStore (QuestSortEntryfmt)
 
DBCStorage< QuestXPEntrysQuestXPStore (QuestXPfmt)
 
DBCStorage< QuestFactionRewEntrysQuestFactionRewardStore (QuestFactionRewardfmt)
 
DBCStorage< RandPropPointsEntrysRandPropPointsStore (RandPropPointsfmt)
 
DBCStorage< ScalingStatDistributionEntrysScalingStatDistributionStore (ScalingStatDistributionfmt)
 
DBCStorage< ScalingStatValuesEntrysScalingStatValuesStore (ScalingStatValuesfmt)
 
DBCStorage< SkillLineEntrysSkillLineStore (SkillLinefmt)
 
DBCStorage< SkillLineAbilityEntrysSkillLineAbilityStore (SkillLineAbilityfmt)
 
DBCStorage< SkillRaceClassInfoEntrysSkillRaceClassInfoStore (SkillRaceClassInfofmt)
 
std::unordered_map< uint32, std::vector< SkillLineAbilityEntry const * > > SkillLineAbilitiesBySkill
 
SkillRaceClassInfoMap SkillRaceClassInfoBySkill
 
DBCStorage< SkillTiersEntrysSkillTiersStore (SkillTiersfmt)
 
DBCStorage< SoundEntriesEntrysSoundEntriesStore (SoundEntriesfmt)
 
DBCStorage< SpellItemEnchantmentEntrysSpellItemEnchantmentStore (SpellItemEnchantmentfmt)
 
DBCStorage< SpellItemEnchantmentConditionEntrysSpellItemEnchantmentConditionStore (SpellItemEnchantmentConditionfmt)
 
DBCStorage< SpellEntrysSpellStore (SpellEntryfmt)
 
PetFamilySpellsStore sPetFamilySpellsStore
 
DBCStorage< SpellCastTimesEntrysSpellCastTimesStore (SpellCastTimefmt)
 
DBCStorage< SpellCategoryEntrysSpellCategoryStore (SpellCategoryfmt)
 
DBCStorage< SpellDifficultyEntrysSpellDifficultyStore (SpellDifficultyfmt)
 
DBCStorage< SpellDurationEntrysSpellDurationStore (SpellDurationfmt)
 
DBCStorage< SpellFocusObjectEntrysSpellFocusObjectStore (SpellFocusObjectfmt)
 
DBCStorage< SpellRadiusEntrysSpellRadiusStore (SpellRadiusfmt)
 
DBCStorage< SpellRangeEntrysSpellRangeStore (SpellRangefmt)
 
DBCStorage< SpellRuneCostEntrysSpellRuneCostStore (SpellRuneCostfmt)
 
DBCStorage< SpellShapeshiftFormEntrysSpellShapeshiftFormStore (SpellShapeshiftFormfmt)
 
DBCStorage< SpellVisualEntrysSpellVisualStore (SpellVisualfmt)
 
DBCStorage< StableSlotPricesEntrysStableSlotPricesStore (StableSlotPricesfmt)
 
DBCStorage< SummonPropertiesEntrysSummonPropertiesStore (SummonPropertiesfmt)
 
DBCStorage< TalentEntrysTalentStore (TalentEntryfmt)
 
TalentSpellPosMap sTalentSpellPosMap
 
std::unordered_set< uint32sPetTalentSpells
 
DBCStorage< TalentTabEntrysTalentTabStore (TalentTabEntryfmt)
 
static uint32 sTalentTabPages [MAX_CLASSES][3]
 
DBCStorage< TaxiNodesEntrysTaxiNodesStore (TaxiNodesEntryfmt)
 
TaxiMask sTaxiNodesMask
 
TaxiMask sOldContinentsNodesMask
 
TaxiMask sHordeTaxiNodesMask
 
TaxiMask sAllianceTaxiNodesMask
 
TaxiMask sDeathKnightTaxiNodesMask
 
TaxiPathSetBySource sTaxiPathSetBySource
 
DBCStorage< TaxiPathEntrysTaxiPathStore (TaxiPathEntryfmt)
 
TaxiPathNodesByPath sTaxiPathNodesByPath
 
static DBCStorage< TaxiPathNodeEntrysTaxiPathNodeStore (TaxiPathNodeEntryfmt)
 
DBCStorage< TeamContributionPointsEntrysTeamContributionPointsStore (TeamContributionPointsfmt)
 
DBCStorage< TotemCategoryEntrysTotemCategoryStore (TotemCategoryEntryfmt)
 
DBCStorage< TransportAnimationEntrysTransportAnimationStore (TransportAnimationfmt)
 
DBCStorage< TransportRotationEntrysTransportRotationStore (TransportRotationfmt)
 
DBCStorage< VehicleEntrysVehicleStore (VehicleEntryfmt)
 
DBCStorage< VehicleSeatEntrysVehicleSeatStore (VehicleSeatEntryfmt)
 
DBCStorage< WMOAreaTableEntrysWMOAreaTableStore (WMOAreaTableEntryfmt)
 
DBCStorage< WorldMapAreaEntrysWorldMapAreaStore (WorldMapAreaEntryfmt)
 
DBCStorage< WorldMapOverlayEntrysWorldMapOverlayStore (WorldMapOverlayEntryfmt)
 
DBCStorage< WorldSafeLocsEntrysWorldSafeLocsStore (WorldSafeLocsEntryfmt)
 
uint32 DBCFileCount = 0
 

Macro Definition Documentation

◆ LOAD_DBC

#define LOAD_DBC (   store,
  file 
)    LoadDBC(availableDbcLocales, bad_dbc_files, store, dbcPath, file)

◆ LOAD_DBC_EXT

#define LOAD_DBC_EXT (   store,
  file,
  dbtable,
  dbformat,
  dbpk 
)    LoadDBC(availableDbcLocales, bad_dbc_files, store, dbcPath, file, dbtable, dbformat, dbpk)

Typedef Documentation

◆ AreaFlagByAreaID

typedef std::map<uint16, uint32> AreaFlagByAreaID

Definition at line 36 of file DBCStores.cpp.

◆ AreaFlagByMapID

typedef std::map<uint32, uint32> AreaFlagByMapID

Definition at line 37 of file DBCStores.cpp.

◆ EmotesTextSoundKey

typedef std::tuple<uint32, uint32, uint32> EmotesTextSoundKey

Definition at line 82 of file DBCStores.cpp.

◆ FactionTeamMap

Definition at line 86 of file DBCStores.cpp.

◆ NameValidationRegexContainer

typedef std::array<std::vector<Trinity::wregex>, TOTAL_LOCALES> NameValidationRegexContainer

Definition at line 141 of file DBCStores.cpp.

◆ StoreProblemList

typedef std::list<std::string> StoreProblemList

Definition at line 218 of file DBCStores.cpp.

◆ WMOAreaInfoByTripple

Definition at line 40 of file DBCStores.cpp.

◆ WMOAreaTableKey

typedef std::tuple<int16, int8, int32> WMOAreaTableKey

Definition at line 39 of file DBCStores.cpp.

Function Documentation

◆ FindTextSoundEmoteFor()

EmotesTextSoundEntry const * FindTextSoundEmoteFor ( uint32  emote,
uint32  race,
uint32  gender 
)

Definition at line 984 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundBracketById()

PvPDifficultyEntry const * GetBattlegroundBracketById ( uint32  mapid,
BattlegroundBracketId  id 
)

Definition at line 862 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundBracketByLevel()

PvPDifficultyEntry const * GetBattlegroundBracketByLevel ( uint32  mapid,
uint32  level 
)

Definition at line 838 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetCharFacialHairEntry()

CharacterFacialHairStylesEntry const * GetCharFacialHairEntry ( uint8  race,
uint8  gender,
uint8  facialHairID 
)

Definition at line 885 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetCharSectionEntry()

CharSectionsEntry const * GetCharSectionEntry ( uint8  race,
CharSectionType  genType,
uint8  gender,
uint8  type,
uint8  color 
)

Definition at line 894 of file DBCStores.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCharStartOutfitEntry()

CharStartOutfitEntry const * GetCharStartOutfitEntry ( uint8  race,
uint8  class_,
uint8  gender 
)

Definition at line 906 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetClassName()

char const * GetClassName ( uint8  class_,
uint8  locale 
)

Definition at line 727 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetContentLevelsForMapAndZone()

ContentLevels GetContentLevelsForMapAndZone ( uint32  mapid,
uint32  zoneId 
)

Definition at line 744 of file DBCStores.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDefaultMapLight()

uint32 GetDefaultMapLight ( uint32  mapId)

Definition at line 931 of file DBCStores.cpp.

◆ GetDownscaledMapDifficultyData()

MapDifficulty const * GetDownscaledMapDifficultyData ( uint32  mapId,
Difficulty difficulty 
)

Definition at line 814 of file DBCStores.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetFactionTeamList()

SimpleFactionsList const * GetFactionTeamList ( uint32  faction)

Definition at line 676 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetLFGDungeon()

LFGDungeonEntry const * GetLFGDungeon ( uint32  mapId,
Difficulty  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 916 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetLiquidFlags()

uint32 GetLiquidFlags ( uint32  liquidType)

Definition at line 877 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetMapDifficultyData()

MapDifficulty const * GetMapDifficultyData ( uint32  mapId,
Difficulty  difficulty 
)

Definition at line 808 of file DBCStores.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPetName()

char const * GetPetName ( uint32  petfamily,
uint32  dbclang 
)

Definition at line 685 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetRaceName()

char const * GetRaceName ( uint8  race,
uint8  locale 
)

Definition at line 721 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetSkillLineAbilitiesBySkill()

std::vector< SkillLineAbilityEntry const * > const * GetSkillLineAbilitiesBySkill ( uint32  skillLine)

Definition at line 946 of file DBCStores.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSkillRaceClassInfo()

SkillRaceClassInfoEntry const * GetSkillRaceClassInfo ( uint32  skill,
uint8  race,
uint8  class_ 
)

Definition at line 951 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetTalentSpellCost()

uint32 GetTalentSpellCost ( uint32  spellId)

Definition at line 704 of file DBCStores.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTalentSpellPos()

TalentSpellPos const * GetTalentSpellPos ( uint32  spellId)

Definition at line 695 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetTalentTabPages()

uint32 const * GetTalentTabPages ( uint8  cls)

Definition at line 872 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetVirtualMapForMapAndZone()

uint32 GetVirtualMapForMapAndZone ( uint32  mapid,
uint32  zoneId 
)

Definition at line 733 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ GetWMOAreaTableEntryByTripple()

WMOAreaTableEntry const * GetWMOAreaTableEntryByTripple ( int32  rootid,
int32  adtid,
int32  groupid 
)

Definition at line 712 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ IsTotemCategoryCompatiableWith()

bool IsTotemCategoryCompatiableWith ( uint32  itemTotemCategoryId,
uint32  requiredTotemCategoryId 
)

Definition at line 762 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ LoadDBC()

template<class T >
void LoadDBC ( uint32 availableDbcLocales,
StoreProblemList errors,
DBCStorage< T > &  storage,
std::string const &  dbcPath,
std::string const &  filename,
char const *  dbTable = nullptr,
char const *  dbFormat = nullptr,
char const *  dbIndexName = nullptr 
)
inline

Definition at line 231 of file DBCStores.cpp.

+ Here is the call graph for this function:

◆ LoadDBC_assert_print()

static bool LoadDBC_assert_print ( uint32  fsize,
uint32  rsize,
const std::string &  filename 
)
static

Definition at line 222 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ LoadDBCStores()

void LoadDBCStores ( const std::string &  dataPath)

Definition at line 275 of file DBCStores.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Map2ZoneCoordinates()

void Map2ZoneCoordinates ( float &  x,
float &  y,
uint32  zone 
)

Definition at line 795 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ ValidateName()

ResponseCodes ValidateName ( std::wstring const &  name,
LocaleConstant  locale 
)

Definition at line 967 of file DBCStores.cpp.

+ Here is the caller graph for this function:

◆ Zone2MapCoordinates()

void Zone2MapCoordinates ( float &  x,
float &  y,
uint32  zone 
)

Definition at line 782 of file DBCStores.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ DBCFileCount

uint32 DBCFileCount = 0

Definition at line 220 of file DBCStores.cpp.

◆ NamesProfaneValidators

NameValidationRegexContainer NamesProfaneValidators

Definition at line 142 of file DBCStores.cpp.

◆ NamesReservedValidators

NameValidationRegexContainer NamesReservedValidators

Definition at line 143 of file DBCStores.cpp.

◆ sAchievementCriteriaStore

◆ sAchievementStore

◆ sAllianceTaxiNodesMask

TaxiMask sAllianceTaxiNodesMask

Definition at line 196 of file DBCStores.cpp.

◆ sAreaGroupStore

◆ sAreaTableStore

◆ sAreaTriggerStore

◆ sAuctionHouseStore

◆ sBankBagSlotPricesStore

◆ sBannedAddOnsStore

◆ sBarberShopStyleStore

◆ sBattlemasterListStore

◆ sCharacterFacialHairStylesStore

◆ sCharFacialHairMap

std::unordered_map<uint32, CharacterFacialHairStylesEntry const*> sCharFacialHairMap

Definition at line 56 of file DBCStores.cpp.

◆ sCharSectionMap

std::unordered_multimap<uint32, CharSectionsEntry const*> sCharSectionMap

Definition at line 58 of file DBCStores.cpp.

◆ sCharSectionsStore

◆ sCharStartOutfitMap

std::map<uint32, CharStartOutfitEntry const*> sCharStartOutfitMap

Definition at line 60 of file DBCStores.cpp.

◆ sCharStartOutfitStore

◆ sCharTitlesStore

◆ sChatChannelsStore

◆ sChrClassesStore

◆ sChrRacesStore

◆ sCinematicCameraStore

◆ sCinematicSequencesStore

◆ sCreatureDisplayInfoExtraStore

◆ sCreatureDisplayInfoStore

◆ sCreatureFamilyStore

◆ sCreatureModelDataStore

◆ sCreatureSpellDataStore

◆ sCreatureTypeStore

◆ sCurrencyTypesStore

◆ sDeathKnightTaxiNodesMask

TaxiMask sDeathKnightTaxiNodesMask

Definition at line 197 of file DBCStores.cpp.

◆ sDestructibleModelDataStore

◆ sDungeonEncounterStore

◆ sDurabilityCostsStore

◆ sDurabilityQualityStore

◆ sEmotesStore

◆ sEmotesTextSoundMap

std::map<EmotesTextSoundKey, EmotesTextSoundEntry const*> sEmotesTextSoundMap
static

Definition at line 83 of file DBCStores.cpp.

◆ sEmotesTextSoundStore

◆ sEmotesTextStore

◆ sFactionStore

◆ sFactionTeamMap

FactionTeamMap sFactionTeamMap
static

Definition at line 87 of file DBCStores.cpp.

◆ sFactionTemplateStore

◆ sGameObjectArtKitStore

◆ sGameObjectDisplayInfoStore

◆ sGemPropertiesStore

◆ sGlyphPropertiesStore

◆ sGlyphSlotStore

◆ sGtBarberShopCostBaseStore

◆ sGtChanceToMeleeCritBaseStore

◆ sGtChanceToMeleeCritStore

◆ sGtChanceToSpellCritBaseStore

◆ sGtChanceToSpellCritStore

◆ sGtCombatRatingsStore

◆ sGtNPCManaCostScalerStore

◆ sGtOCTClassCombatRatingScalarStore

◆ sGtOCTRegenHPStore

◆ sGtRegenHPPerSptStore

◆ sGtRegenMPPerSptStore

◆ sHolidaysStore

DBCStorage< HolidaysEntry > sHolidaysStore(Holidaysfmt) ( Holidaysfmt  )

◆ sHordeTaxiNodesMask

TaxiMask sHordeTaxiNodesMask

Definition at line 195 of file DBCStores.cpp.

◆ sItemBagFamilyStore

◆ sItemExtendedCostStore

◆ sItemLimitCategoryStore

◆ sItemRandomPropertiesStore

◆ sItemRandomSuffixStore

◆ sItemSetStore

◆ sItemStore

DBCStorage< ItemEntry > sItemStore(Itemfmt) ( Itemfmt  )

◆ SkillLineAbilitiesBySkill

std::unordered_map<uint32, std::vector<SkillLineAbilityEntry const*> > SkillLineAbilitiesBySkill

Definition at line 160 of file DBCStores.cpp.

◆ SkillRaceClassInfoBySkill

SkillRaceClassInfoMap SkillRaceClassInfoBySkill

Definition at line 161 of file DBCStores.cpp.

◆ sLFGDungeonExpansionStore

◆ sLFGDungeonStore

◆ sLightStore

◆ sLiquidTypeStore

◆ sLockStore

◆ sMailTemplateStore

◆ sMapDifficultyMap

MapDifficultyMap sMapDifficultyMap

Definition at line 135 of file DBCStores.cpp.

◆ sMapDifficultyStore

◆ sMapStore

◆ sMovieStore

◆ sNamesProfanityStore

◆ sNamesReservedStore

◆ sOldContinentsNodesMask

TaxiMask sOldContinentsNodesMask

Definition at line 194 of file DBCStores.cpp.

◆ sOverrideSpellDataStore

◆ sPetFamilySpellsStore

PetFamilySpellsStore sPetFamilySpellsStore

Definition at line 170 of file DBCStores.cpp.

◆ sPetTalentSpells

std::unordered_set<uint32> sPetTalentSpells

Definition at line 186 of file DBCStores.cpp.

◆ sPowerDisplayStore

◆ sPvPDifficultyStore

◆ sQuestFactionRewardStore

◆ sQuestSortStore

◆ sQuestXPStore

DBCStorage< QuestXPEntry > sQuestXPStore(QuestXPfmt) ( QuestXPfmt  )

◆ sRandPropPointsStore

◆ sScalingStatDistributionStore

◆ sScalingStatValuesStore

◆ sSkillLineAbilityStore

◆ sSkillLineStore

◆ sSkillRaceClassInfoStore

◆ sSkillTiersStore

◆ sSoundEntriesStore

◆ sSpellCastTimesStore

◆ sSpellCategoryStore

◆ sSpellDifficultyStore

◆ sSpellDurationStore

◆ sSpellFocusObjectStore

◆ sSpellItemEnchantmentConditionStore

◆ sSpellItemEnchantmentStore

◆ sSpellRadiusStore

◆ sSpellRangeStore

◆ sSpellRuneCostStore

◆ sSpellShapeshiftFormStore

◆ sSpellStore

◆ sSpellVisualStore

◆ sStableSlotPricesStore

◆ sSummonPropertiesStore

◆ sTalentSpellPosMap

TalentSpellPosMap sTalentSpellPosMap

Definition at line 185 of file DBCStores.cpp.

◆ sTalentStore

◆ sTalentTabPages

uint32 sTalentTabPages[MAX_CLASSES][3]
static

Definition at line 190 of file DBCStores.cpp.

◆ sTalentTabStore

◆ sTaxiNodesMask

TaxiMask sTaxiNodesMask

Definition at line 193 of file DBCStores.cpp.

◆ sTaxiNodesStore

◆ sTaxiPathNodesByPath

TaxiPathNodesByPath sTaxiPathNodesByPath

Definition at line 204 of file DBCStores.cpp.

◆ sTaxiPathNodeStore

◆ sTaxiPathSetBySource

TaxiPathSetBySource sTaxiPathSetBySource

Definition at line 200 of file DBCStores.cpp.

◆ sTaxiPathStore

◆ sTeamContributionPointsStore

◆ sTotemCategoryStore

◆ sTransportAnimationStore

◆ sTransportRotationStore

◆ sVehicleSeatStore

◆ sVehicleStore

◆ sWMOAreaInfoByTripple

WMOAreaInfoByTripple sWMOAreaInfoByTripple
static

Definition at line 45 of file DBCStores.cpp.

◆ sWMOAreaTableStore

◆ sWorldMapAreaStore

◆ sWorldMapOverlayStore

◆ sWorldSafeLocsStore