TrinityCore
DB2Manager Class Reference

#include <DB2Stores.h>

Classes

struct  HotfixId
 
struct  HotfixOptionalData
 
struct  HotfixPush
 
struct  HotfixRecord
 

Public Types

using HotfixContainer = std::map< int32, HotfixPush >
 
using FriendshipRepReactionSet = std::set< FriendshipRepReactionEntry const *, FriendshipRepReactionEntryComparator >
 
using MapDifficultyConditionsContainer = std::vector< std::pair< uint32, PlayerConditionEntry const * > >
 
using MountTypeXCapabilitySet = std::set< MountTypeXCapabilityEntry const *, MountTypeXCapabilityEntryComparator >
 
using MountXDisplayContainer = std::vector< MountXDisplayEntry const * >
 

Public Member Functions

uint32 LoadStores (std::string const &dataPath, LocaleConstant defaultLocale)
 
DB2StorageBase const * GetStorage (uint32 type) const
 
void LoadHotfixData (uint32 localeMask)
 
void LoadHotfixBlob (uint32 localeMask)
 
void LoadHotfixOptionalData (uint32 localeMask)
 
uint32 GetHotfixCount () const
 
HotfixContainer const & GetHotfixData () const
 
std::vector< uint8 > const * GetHotfixBlobData (uint32 tableHash, int32 recordId, LocaleConstant locale) const
 
std::vector< HotfixOptionalData > const * GetHotfixOptionalData (uint32 tableHash, int32 recordId, LocaleConstant locale) const
 
uint32 GetEmptyAnimStateID () const
 
std::vector< uint32GetAreasForGroup (uint32 areaGroupId) const
 
std::vector< ArtifactPowerEntry const * > GetArtifactPowers (uint8 artifactId) const
 
std::vector< uint32 > const * GetArtifactPowerLinks (uint32 artifactPowerId) const
 
ArtifactPowerRankEntry const * GetArtifactPowerRank (uint32 artifactPowerId, uint8 rank) const
 
AzeriteEmpoweredItemEntry const * GetAzeriteEmpoweredItem (uint32 itemId) const
 
bool IsAzeriteItem (uint32 itemId) const
 
AzeriteEssencePowerEntry const * GetAzeriteEssencePower (uint32 azeriteEssenceId, uint32 rank) const
 
std::vector< AzeriteItemMilestonePowerEntry const * > const & GetAzeriteItemMilestonePowers () const
 
AzeriteItemMilestonePowerEntry const * GetAzeriteItemMilestonePower (uint8 slot) const
 
std::vector< AzeritePowerSetMemberEntry const * > const * GetAzeritePowers (uint32 itemId) const
 
uint32 GetRequiredAzeriteLevelForAzeritePowerTier (uint32 azeriteUnlockSetId, ItemContext context, uint32 tier) const
 
int32 const * GetBroadcastTextDuration (uint32 broadcastTextId, LocaleConstant locale=DEFAULT_LOCALE) const
 
ChrClassUIDisplayEntry const * GetUiDisplayForClass (Classes unitClass) const
 
uint32 GetPowerIndexByClass (Powers power, uint32 classId) const
 
std::vector< ChrCustomizationChoiceEntry const * > const * GetCustomiztionChoices (uint32 chrCustomizationOptionId) const
 
std::vector< ChrCustomizationOptionEntry const * > const * GetCustomiztionOptions (uint8 race, uint8 gender) const
 
std::vector< std::pair< uint32, std::vector< uint32 > > > const * GetRequiredCustomizationChoices (uint32 chrCustomizationReqId) const
 
ChrModelEntry const * GetChrModel (uint8 race, uint8 gender) const
 
ChrSpecializationEntry const * GetChrSpecializationByIndex (uint32 class_, uint32 index) const
 
ChrSpecializationEntry const * GetDefaultChrSpecializationForClass (uint32 class_) const
 
uint32 GetRedirectedContentTuningId (uint32 contentTuningId, uint32 redirectFlag) const
 
Optional< ContentTuningLevelsGetContentTuningData (uint32 contentTuningId, uint32 redirectFlag, bool forItem=false) const
 
bool HasContentTuningLabel (uint32 contentTuningId, int32 label) const
 
CurrencyContainerEntry const * GetCurrencyContainerForCurrencyQuantity (uint32 currencyId, int32 quantity) const
 
std::pair< float, float > GetCurveXAxisRange (uint32 curveId) const
 
float GetCurveValueAt (uint32 curveId, float x) const
 
float GetCurveValueAt (CurveInterpolationMode mode, std::span< DBCPosition2D const > points, float x) const
 
EmotesTextSoundEntry const * GetTextSoundEmoteFor (uint32 emote, uint8 race, uint8 gender, uint8 class_) const
 
float EvaluateExpectedStat (ExpectedStatType stat, uint32 level, int32 expansion, uint32 contentTuningId, Classes unitClass, int32 mythicPlusMilestoneSeason) const
 
std::vector< uint32 > const * GetFactionTeamList (uint32 faction) const
 
FriendshipRepReactionSet const * GetFriendshipRepReactions (uint32 friendshipRepID) const
 
uint32 GetGlobalCurveId (GlobalCurve globalCurveType) const
 
std::vector< uint32 > const * GetGlyphBindableSpells (uint32 glyphPropertiesId) const
 
std::vector< ChrSpecialization > const * GetGlyphRequiredSpecs (uint32 glyphPropertiesId) const
 
HeirloomEntry const * GetHeirloomByItemId (uint32 itemId) const
 
ItemChildEquipmentEntry const * GetItemChildEquipment (uint32 itemId) const
 
ItemClassEntry const * GetItemClassByOldEnum (uint32 itemClass) const
 
bool HasItemCurrencyCost (uint32 itemId) const
 
std::vector< ItemLimitCategoryConditionEntry const * > const * GetItemLimitCategoryConditions (uint32 categoryId) const
 
uint32 GetItemDisplayId (uint32 itemId, uint32 appearanceModId) const
 
ItemModifiedAppearanceEntry const * GetItemModifiedAppearance (uint32 itemId, uint32 appearanceModId) const
 
ItemModifiedAppearanceEntry const * GetDefaultItemModifiedAppearance (uint32 itemId) const
 
std::vector< ItemSetSpellEntry const * > const * GetItemSetSpells (uint32 itemSetId) const
 
std::vector< ItemSpecOverrideEntry const * > const * GetItemSpecOverrides (uint32 itemId) const
 
JournalTierEntry const * GetJournalTier (uint32 index) const
 
MapDifficultyEntry const * GetDefaultMapDifficulty (uint32 mapId, Difficulty *difficulty=nullptr) const
 
MapDifficultyEntry const * GetMapDifficultyData (uint32 mapId, Difficulty difficulty) const
 
MapDifficultyEntry const * GetDownscaledMapDifficultyData (uint32 mapId, Difficulty &difficulty) const
 
MapDifficultyConditionsContainer const * GetMapDifficultyConditions (uint32 mapDifficultyId) const
 
MountEntry const * GetMount (uint32 spellId) const
 
MountEntry const * GetMountById (uint32 id) const
 
MountTypeXCapabilitySet const * GetMountCapabilities (uint32 mountType) const
 
MountXDisplayContainer const * GetMountDisplays (uint32 mountId) const
 
std::string GetNameGenEntry (uint8 race, uint8 gender) const
 
ResponseCodes ValidateName (std::wstring const &name, LocaleConstant locale) const
 
ParagonReputationEntry const * GetParagonReputation (uint32 factionId) const
 
PathDb2 const * GetPath (uint32 pathId) const
 
std::vector< uint32 > const * GetPhasesForGroup (uint32 group) const
 
PowerTypeEntry const * GetPowerTypeEntry (Powers power) const
 
PowerTypeEntry const * GetPowerTypeByName (std::string const &name) const
 
uint8 GetPvpItemLevelBonus (uint32 itemId) const
 
uint32 GetRequiredLevelForPvpTalentSlot (uint8 slot, Classes class_) const
 
int32 GetPvpTalentNumSlotsAtLevel (uint32 level, Classes class_) const
 
std::vector< QuestLineXQuestEntry const * > const * GetQuestsForQuestLine (uint32 questLineId) const
 
std::vector< QuestPackageItemEntry const * > const * GetQuestPackageItems (uint32 questPackageID) const
 
std::vector< QuestPackageItemEntry const * > const * GetQuestPackageItemsFallback (uint32 questPackageID) const
 
uint32 GetQuestUniqueBitFlag (uint32 questId)
 
std::vector< RewardPackXCurrencyTypeEntry const * > const * GetRewardPackCurrencyTypesByRewardID (uint32 rewardPackID) const
 
std::vector< RewardPackXItemEntry const * > const * GetRewardPackItemsByRewardID (uint32 rewardPackID) const
 
ShapeshiftFormModelData const * GetShapeshiftFormModelData (uint8 race, uint8 gender, uint8 form) const
 
std::vector< SkillLineEntry const * > const * GetSkillLinesForParentSkill (uint32 parentSkillId) const
 
std::vector< SkillLineAbilityEntry const * > const * GetSkillLineAbilitiesBySkill (uint32 skillId) const
 
SkillRaceClassInfoEntry const * GetSkillRaceClassInfo (uint32 skill, uint8 race, uint8 class_) const
 
std::vector< SkillRaceClassInfoEntry const * > GetSkillRaceClassInfo (uint32 skill) const
 
SoulbindConduitRankEntry const * GetSoulbindConduitRank (int32 soulbindConduitId, int32 rank) const
 
std::vector< SpecializationSpellsEntry const * > const * GetSpecializationSpells (uint32 specId) const
 
bool IsSpecSetMember (int32 specSetId, uint32 specId) const
 
std::vector< SpellProcsPerMinuteModEntry const * > GetSpellProcsPerMinuteMods (uint32 spellprocsPerMinuteId) const
 
std::vector< SpellVisualMissileEntry const * > const * GetSpellVisualMissiles (int32 spellVisualMissileSetId) const
 
std::vector< TalentEntry const * > const & GetTalentsByPosition (uint32 class_, uint32 tier, uint32 column) const
 
TaxiPathEntry const * GetTaxiPath (uint32 from, uint32 to) const
 
bool IsToyItem (uint32 toy) const
 
TransmogIllusionEntry const * GetTransmogIllusionForEnchantment (uint32 spellItemEnchantmentId) const
 
std::vector< TransmogSetEntry const * > const * GetTransmogSetsForItemModifiedAppearance (uint32 itemModifiedAppearanceId) const
 
std::vector< TransmogSetItemEntry const * > const * GetTransmogSetItems (uint32 transmogSetId) const
 
bool Zone2MapCoordinates (uint32 areaId, float &x, float &y) const
 
void Map2ZoneCoordinates (uint32 areaId, float &x, float &y) const
 
bool IsUiMapPhase (uint32 phaseId) const
 
WMOAreaTableEntry const * GetWMOAreaTable (int32 rootId, int32 adtId, int32 groupId) const
 
std::unordered_set< uint32 > const * GetPVPStatIDsForMap (uint32 mapId) const
 

Static Public Member Functions

static DB2ManagerInstance ()
 
static bool IsInArea (uint32 objectAreaId, uint32 areaId)
 
static ContentTuningEntry const * GetContentTuningForArea (AreaTableEntry const *areaEntry)
 
static char const * GetBroadcastTextValue (BroadcastTextEntry const *broadcastText, LocaleConstant locale=DEFAULT_LOCALE, uint8 gender=GENDER_MALE, bool forceGender=false)
 
static CharBaseInfoEntry const * GetCharBaseInfo (Races race, Classes class_)
 
static char const * GetClassName (uint8 class_, LocaleConstant locale=DEFAULT_LOCALE)
 
static ConditionalChrModelEntry const * GetConditionalChrModel (int32 chrModelId)
 
static char const * GetChrRaceName (uint8 race, LocaleConstant locale=DEFAULT_LOCALE)
 
static char const * GetCreatureFamilyPetName (uint32 petfamily, LocaleConstant locale)
 
static LFGDungeonsEntry const * GetLfgDungeon (uint32 mapId, Difficulty difficulty)
 
static uint32 GetDefaultMapLight (uint32 mapId)
 
static uint32 GetLiquidFlags (uint32 liquidType)
 
static int32 GetNumTalentsAtLevel (uint32 level, Classes playerClass)
 
static PVPDifficultyEntry const * GetBattlegroundBracketByLevel (uint32 mapid, uint32 level)
 
static PVPDifficultyEntry const * GetBattlegroundBracketById (uint32 mapid, BattlegroundBracketId id)
 
static bool IsValidSpellFamiliyName (SpellFamilyNames family)
 
static bool IsTotemCategoryCompatibleWith (uint32 itemTotemCategoryId, uint32 requiredTotemCategoryId, bool requireAllTotems=true)
 
static bool GetUiMapPosition (float x, float y, float z, int32 mapId, int32 areaId, int32 wmoDoodadPlacementId, int32 wmoGroupId, UiMapSystem system, bool local, uint32 *uiMapId=nullptr, DBCPosition2D *newPos=nullptr)
 

Private Member Functions

void InsertNewHotfix (uint32 tableHash, uint32 recordId)
 

Private Attributes

int32 _maxHotfixId = 0
 

Friends

class DB2HotfixGeneratorBase
 

Detailed Description

Definition at line 362 of file DB2Stores.h.

Member Typedef Documentation

◆ FriendshipRepReactionSet

using DB2Manager::FriendshipRepReactionSet = std::set<FriendshipRepReactionEntry const*, FriendshipRepReactionEntryComparator>

Definition at line 420 of file DB2Stores.h.

◆ HotfixContainer

Definition at line 418 of file DB2Stores.h.

◆ MapDifficultyConditionsContainer

Definition at line 421 of file DB2Stores.h.

◆ MountTypeXCapabilitySet

using DB2Manager::MountTypeXCapabilitySet = std::set<MountTypeXCapabilityEntry const*, MountTypeXCapabilityEntryComparator>

Definition at line 422 of file DB2Stores.h.

◆ MountXDisplayContainer

Definition at line 423 of file DB2Stores.h.

Member Function Documentation

◆ EvaluateExpectedStat()

float DB2Manager::EvaluateExpectedStat ( ExpectedStatType  stat,
uint32  level,
int32  expansion,
uint32  contentTuningId,
Classes  unitClass,
int32  mythicPlusMilestoneSeason 
) const

Definition at line 2444 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetAreasForGroup()

std::vector< uint32 > DB2Manager::GetAreasForGroup ( uint32  areaGroupId) const

Definition at line 1958 of file DB2Stores.cpp.

◆ GetArtifactPowerLinks()

std::vector< uint32 > const * DB2Manager::GetArtifactPowerLinks ( uint32  artifactPowerId) const

Definition at line 2009 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetArtifactPowerRank()

ArtifactPowerRankEntry const * DB2Manager::GetArtifactPowerRank ( uint32  artifactPowerId,
uint8  rank 
) const

Definition at line 2014 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetArtifactPowers()

std::vector< ArtifactPowerEntry const * > DB2Manager::GetArtifactPowers ( uint8  artifactId) const

Definition at line 2000 of file DB2Stores.cpp.

◆ GetAzeriteEmpoweredItem()

AzeriteEmpoweredItemEntry const * DB2Manager::GetAzeriteEmpoweredItem ( uint32  itemId) const

Definition at line 2019 of file DB2Stores.cpp.

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

◆ GetAzeriteEssencePower()

AzeriteEssencePowerEntry const * DB2Manager::GetAzeriteEssencePower ( uint32  azeriteEssenceId,
uint32  rank 
) const

Definition at line 2030 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetAzeriteItemMilestonePower()

AzeriteItemMilestonePowerEntry const * DB2Manager::GetAzeriteItemMilestonePower ( uint8  slot) const

Definition at line 2040 of file DB2Stores.cpp.

◆ GetAzeriteItemMilestonePowers()

std::vector< AzeriteItemMilestonePowerEntry const * > const & DB2Manager::GetAzeriteItemMilestonePowers ( ) const

Definition at line 2035 of file DB2Stores.cpp.

◆ GetAzeritePowers()

std::vector< AzeritePowerSetMemberEntry const * > const * DB2Manager::GetAzeritePowers ( uint32  itemId) const

Definition at line 2046 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetBattlegroundBracketById()

PVPDifficultyEntry const * DB2Manager::GetBattlegroundBracketById ( uint32  mapid,
BattlegroundBracketId  id 
)
static

Definition at line 2862 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundBracketByLevel()

PVPDifficultyEntry const * DB2Manager::GetBattlegroundBracketByLevel ( uint32  mapid,
uint32  level 
)
static

Definition at line 2841 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetBroadcastTextDuration()

int32 const * DB2Manager::GetBroadcastTextDuration ( uint32  broadcastTextId,
LocaleConstant  locale = DEFAULT_LOCALE 
) const

Definition at line 2084 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetBroadcastTextValue()

char const * DB2Manager::GetBroadcastTextValue ( BroadcastTextEntry const *  broadcastText,
LocaleConstant  locale = DEFAULT_LOCALE,
uint8  gender = GENDER_MALE,
bool  forceGender = false 
)
static

Definition at line 2068 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetCharBaseInfo()

CharBaseInfoEntry const * DB2Manager::GetCharBaseInfo ( Races  race,
Classes  class_ 
)
static

Definition at line 2089 of file DB2Stores.cpp.

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

◆ GetChrModel()

ChrModelEntry const * DB2Manager::GetChrModel ( uint8  race,
uint8  gender 
) const

Definition at line 2132 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetChrRaceName()

char const * DB2Manager::GetChrRaceName ( uint8  race,
LocaleConstant  locale = DEFAULT_LOCALE 
)
static

Definition at line 2142 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetChrSpecializationByIndex()

ChrSpecializationEntry const * DB2Manager::GetChrSpecializationByIndex ( uint32  class_,
uint32  index 
) const

Definition at line 2154 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetClassName()

char const * DB2Manager::GetClassName ( uint8  class_,
LocaleConstant  locale = DEFAULT_LOCALE 
)
static

Definition at line 2100 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetConditionalChrModel()

ConditionalChrModelEntry const * DB2Manager::GetConditionalChrModel ( int32  chrModelId)
static

Definition at line 2137 of file DB2Stores.cpp.

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

◆ GetContentTuningData()

Optional< ContentTuningLevels > DB2Manager::GetContentTuningData ( uint32  contentTuningId,
uint32  redirectFlag,
bool  forItem = false 
) const

Definition at line 2174 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetContentTuningForArea()

ContentTuningEntry const * DB2Manager::GetContentTuningForArea ( AreaTableEntry const *  areaEntry)
static

Definition at line 1984 of file DB2Stores.cpp.

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

◆ GetCreatureFamilyPetName()

char const * DB2Manager::GetCreatureFamilyPetName ( uint32  petfamily,
LocaleConstant  locale 
)
static

Definition at line 2228 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetCurrencyContainerForCurrencyQuantity()

CurrencyContainerEntry const * DB2Manager::GetCurrencyContainerForCurrencyQuantity ( uint32  currencyId,
int32  quantity 
) const

Definition at line 2240 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetCurveValueAt() [1/2]

float DB2Manager::GetCurveValueAt ( CurveInterpolationMode  mode,
std::span< DBCPosition2D const >  points,
float  x 
) const

Definition at line 2303 of file DB2Stores.cpp.

◆ GetCurveValueAt() [2/2]

float DB2Manager::GetCurveValueAt ( uint32  curveId,
float  x 
) const

Definition at line 2289 of file DB2Stores.cpp.

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

◆ GetCurveXAxisRange()

std::pair< float, float > DB2Manager::GetCurveXAxisRange ( uint32  curveId) const

Definition at line 2249 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetCustomiztionChoices()

std::vector< ChrCustomizationChoiceEntry const * > const * DB2Manager::GetCustomiztionChoices ( uint32  chrCustomizationOptionId) const

Definition at line 2117 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetCustomiztionOptions()

std::vector< ChrCustomizationOptionEntry const * > const * DB2Manager::GetCustomiztionOptions ( uint8  race,
uint8  gender 
) const

Definition at line 2122 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetDefaultChrSpecializationForClass()

ChrSpecializationEntry const * DB2Manager::GetDefaultChrSpecializationForClass ( uint32  class_) const

Definition at line 2159 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetDefaultItemModifiedAppearance()

ItemModifiedAppearanceEntry const * DB2Manager::GetDefaultItemModifiedAppearance ( uint32  itemId) const

Definition at line 2637 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetDefaultMapDifficulty()

MapDifficultyEntry const * DB2Manager::GetDefaultMapDifficulty ( uint32  mapId,
Difficulty difficulty = nullptr 
) const

Definition at line 2691 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetDefaultMapLight()

uint32 DB2Manager::GetDefaultMapLight ( uint32  mapId)
static

Definition at line 2668 of file DB2Stores.cpp.

◆ GetDownscaledMapDifficultyData()

MapDifficultyEntry const * DB2Manager::GetDownscaledMapDifficultyData ( uint32  mapId,
Difficulty difficulty 
) const

Definition at line 2734 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetEmptyAnimStateID()

uint32 DB2Manager::GetEmptyAnimStateID ( ) const

Definition at line 1939 of file DB2Stores.cpp.

◆ GetFactionTeamList()

std::vector< uint32 > const * DB2Manager::GetFactionTeamList ( uint32  faction) const

Definition at line 2557 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetFriendshipRepReactions()

DB2Manager::FriendshipRepReactionSet const * DB2Manager::GetFriendshipRepReactions ( uint32  friendshipRepID) const

Definition at line 2562 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetGlobalCurveId()

uint32 DB2Manager::GetGlobalCurveId ( GlobalCurve  globalCurveType) const

Definition at line 2567 of file DB2Stores.cpp.

◆ GetGlyphBindableSpells()

std::vector< uint32 > const * DB2Manager::GetGlyphBindableSpells ( uint32  glyphPropertiesId) const

Definition at line 2576 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetGlyphRequiredSpecs()

std::vector< ChrSpecialization > const * DB2Manager::GetGlyphRequiredSpecs ( uint32  glyphPropertiesId) const

Definition at line 2581 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetHeirloomByItemId()

HeirloomEntry const * DB2Manager::GetHeirloomByItemId ( uint32  itemId) const

Definition at line 2586 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetHotfixBlobData()

std::vector< uint8 > const * DB2Manager::GetHotfixBlobData ( uint32  tableHash,
int32  recordId,
LocaleConstant  locale 
) const

Definition at line 1925 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetHotfixCount()

uint32 DB2Manager::GetHotfixCount ( ) const

Definition at line 1915 of file DB2Stores.cpp.

◆ GetHotfixData()

DB2Manager::HotfixContainer const & DB2Manager::GetHotfixData ( ) const

Definition at line 1920 of file DB2Stores.cpp.

◆ GetHotfixOptionalData()

std::vector< DB2Manager::HotfixOptionalData > const * DB2Manager::GetHotfixOptionalData ( uint32  tableHash,
int32  recordId,
LocaleConstant  locale 
) const

Definition at line 1932 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetItemChildEquipment()

ItemChildEquipmentEntry const * DB2Manager::GetItemChildEquipment ( uint32  itemId) const

Definition at line 2591 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetItemClassByOldEnum()

ItemClassEntry const * DB2Manager::GetItemClassByOldEnum ( uint32  itemClass) const

Definition at line 2596 of file DB2Stores.cpp.

◆ GetItemDisplayId()

uint32 DB2Manager::GetItemDisplayId ( uint32  itemId,
uint32  appearanceModId 
) const

Definition at line 2611 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetItemLimitCategoryConditions()

std::vector< ItemLimitCategoryConditionEntry const * > const * DB2Manager::GetItemLimitCategoryConditions ( uint32  categoryId) const

Definition at line 2606 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetItemModifiedAppearance()

ItemModifiedAppearanceEntry const * DB2Manager::GetItemModifiedAppearance ( uint32  itemId,
uint32  appearanceModId 
) const

Definition at line 2620 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetItemSetSpells()

std::vector< ItemSetSpellEntry const * > const * DB2Manager::GetItemSetSpells ( uint32  itemSetId) const

Definition at line 2642 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetItemSpecOverrides()

std::vector< ItemSpecOverrideEntry const * > const * DB2Manager::GetItemSpecOverrides ( uint32  itemId) const

Definition at line 2647 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetJournalTier()

JournalTierEntry const * DB2Manager::GetJournalTier ( uint32  index) const

Definition at line 2652 of file DB2Stores.cpp.

◆ GetLfgDungeon()

LFGDungeonsEntry const * DB2Manager::GetLfgDungeon ( uint32  mapId,
Difficulty  difficulty 
)
static

Definition at line 2659 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetLiquidFlags()

uint32 DB2Manager::GetLiquidFlags ( uint32  liquidType)
static

Definition at line 2683 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetMapDifficultyConditions()

DB2Manager::MapDifficultyConditionsContainer const * DB2Manager::GetMapDifficultyConditions ( uint32  mapDifficultyId) const

Definition at line 2757 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetMapDifficultyData()

MapDifficultyEntry const * DB2Manager::GetMapDifficultyData ( uint32  mapId,
Difficulty  difficulty 
) const

Definition at line 2721 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetMount()

MountEntry const * DB2Manager::GetMount ( uint32  spellId) const

Definition at line 2762 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetMountById()

MountEntry const * DB2Manager::GetMountById ( uint32  id) const

Definition at line 2767 of file DB2Stores.cpp.

◆ GetMountCapabilities()

DB2Manager::MountTypeXCapabilitySet const * DB2Manager::GetMountCapabilities ( uint32  mountType) const

Definition at line 2772 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetMountDisplays()

DB2Manager::MountXDisplayContainer const * DB2Manager::GetMountDisplays ( uint32  mountId) const

Definition at line 2777 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetNameGenEntry()

std::string DB2Manager::GetNameGenEntry ( uint8  race,
uint8  gender 
) const

Definition at line 2782 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetNumTalentsAtLevel()

int32 DB2Manager::GetNumTalentsAtLevel ( uint32  level,
Classes  playerClass 
)
static

Definition at line 2809 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetParagonReputation()

ParagonReputationEntry const * DB2Manager::GetParagonReputation ( uint32  factionId) const

Definition at line 2831 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetPath()

PathDb2 const * DB2Manager::GetPath ( uint32  pathId) const

Definition at line 2836 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetPhasesForGroup()

std::vector< uint32 > const * DB2Manager::GetPhasesForGroup ( uint32  group) const

Definition at line 2933 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetPowerIndexByClass()

uint32 DB2Manager::GetPowerIndexByClass ( Powers  power,
uint32  classId 
) const

Definition at line 2112 of file DB2Stores.cpp.

◆ GetPowerTypeByName()

PowerTypeEntry const * DB2Manager::GetPowerTypeByName ( std::string const &  name) const

Definition at line 2944 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetPowerTypeEntry()

PowerTypeEntry const * DB2Manager::GetPowerTypeEntry ( Powers  power) const

Definition at line 2938 of file DB2Stores.cpp.

◆ GetPvpItemLevelBonus()

uint8 DB2Manager::GetPvpItemLevelBonus ( uint32  itemId) const

Definition at line 2961 of file DB2Stores.cpp.

◆ GetPVPStatIDsForMap()

std::unordered_set< uint32 > const * DB2Manager::GetPVPStatIDsForMap ( uint32  mapId) const

Definition at line 3452 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetPvpTalentNumSlotsAtLevel()

int32 DB2Manager::GetPvpTalentNumSlotsAtLevel ( uint32  level,
Classes  class_ 
) const

Definition at line 2891 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetQuestPackageItems()

std::vector< QuestPackageItemEntry const * > const * DB2Manager::GetQuestPackageItems ( uint32  questPackageID) const

Definition at line 2906 of file DB2Stores.cpp.

◆ GetQuestPackageItemsFallback()

std::vector< QuestPackageItemEntry const * > const * DB2Manager::GetQuestPackageItemsFallback ( uint32  questPackageID) const

Definition at line 2915 of file DB2Stores.cpp.

◆ GetQuestsForQuestLine()

std::vector< QuestLineXQuestEntry const * > const * DB2Manager::GetQuestsForQuestLine ( uint32  questLineId) const

Definition at line 2901 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetQuestUniqueBitFlag()

uint32 DB2Manager::GetQuestUniqueBitFlag ( uint32  questId)

Definition at line 2924 of file DB2Stores.cpp.

◆ GetRedirectedContentTuningId()

uint32 DB2Manager::GetRedirectedContentTuningId ( uint32  contentTuningId,
uint32  redirectFlag 
) const

Definition at line 2164 of file DB2Stores.cpp.

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

◆ GetRequiredAzeriteLevelForAzeritePowerTier()

uint32 DB2Manager::GetRequiredAzeriteLevelForAzeritePowerTier ( uint32  azeriteUnlockSetId,
ItemContext  context,
uint32  tier 
) const

Definition at line 2054 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetRequiredCustomizationChoices()

std::vector< std::pair< uint32, std::vector< uint32 > > > const * DB2Manager::GetRequiredCustomizationChoices ( uint32  chrCustomizationReqId) const

Definition at line 2127 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetRequiredLevelForPvpTalentSlot()

uint32 DB2Manager::GetRequiredLevelForPvpTalentSlot ( uint8  slot,
Classes  class_ 
) const

Definition at line 2871 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ GetRewardPackCurrencyTypesByRewardID()

std::vector< RewardPackXCurrencyTypeEntry const * > const * DB2Manager::GetRewardPackCurrencyTypesByRewardID ( uint32  rewardPackID) const

Definition at line 2970 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetRewardPackItemsByRewardID()

std::vector< RewardPackXItemEntry const * > const * DB2Manager::GetRewardPackItemsByRewardID ( uint32  rewardPackID) const

Definition at line 2975 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetShapeshiftFormModelData()

ShapeshiftFormModelData const * DB2Manager::GetShapeshiftFormModelData ( uint8  race,
uint8  gender,
uint8  form 
) const

Definition at line 2980 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetSkillLineAbilitiesBySkill()

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

Definition at line 2990 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetSkillLinesForParentSkill()

std::vector< SkillLineEntry const * > const * DB2Manager::GetSkillLinesForParentSkill ( uint32  parentSkillId) const

Definition at line 2985 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetSkillRaceClassInfo() [1/2]

std::vector< SkillRaceClassInfoEntry const * > DB2Manager::GetSkillRaceClassInfo ( uint32  skill) const

Definition at line 3010 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetSkillRaceClassInfo() [2/2]

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

Definition at line 2995 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetSoulbindConduitRank()

SoulbindConduitRankEntry const * DB2Manager::GetSoulbindConduitRank ( int32  soulbindConduitId,
int32  rank 
) const

Definition at line 3019 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetSpecializationSpells()

std::vector< SpecializationSpellsEntry const * > const * DB2Manager::GetSpecializationSpells ( uint32  specId) const

Definition at line 3024 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetSpellProcsPerMinuteMods()

std::vector< SpellProcsPerMinuteModEntry const * > DB2Manager::GetSpellProcsPerMinuteMods ( uint32  spellprocsPerMinuteId) const

Definition at line 3039 of file DB2Stores.cpp.

◆ GetSpellVisualMissiles()

std::vector< SpellVisualMissileEntry const * > const * DB2Manager::GetSpellVisualMissiles ( int32  spellVisualMissileSetId) const

Definition at line 3048 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetStorage()

DB2StorageBase const * DB2Manager::GetStorage ( uint32  type) const

Definition at line 1707 of file DB2Stores.cpp.

◆ GetTalentsByPosition()

std::vector< TalentEntry const * > const & DB2Manager::GetTalentsByPosition ( uint32  class_,
uint32  tier,
uint32  column 
) const

Definition at line 3053 of file DB2Stores.cpp.

◆ GetTaxiPath()

TaxiPathEntry const * DB2Manager::GetTaxiPath ( uint32  from,
uint32  to 
) const

Definition at line 3058 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetTextSoundEmoteFor()

EmotesTextSoundEntry const * DB2Manager::GetTextSoundEmoteFor ( uint32  emote,
uint8  race,
uint8  gender,
uint8  class_ 
) const

Definition at line 2407 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetTransmogIllusionForEnchantment()

TransmogIllusionEntry const * DB2Manager::GetTransmogIllusionForEnchantment ( uint32  spellItemEnchantmentId) const

Definition at line 3089 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetTransmogSetItems()

std::vector< TransmogSetItemEntry const * > const * DB2Manager::GetTransmogSetItems ( uint32  transmogSetId) const

Definition at line 3099 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetTransmogSetsForItemModifiedAppearance()

std::vector< TransmogSetEntry const * > const * DB2Manager::GetTransmogSetsForItemModifiedAppearance ( uint32  itemModifiedAppearanceId) const

Definition at line 3094 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ GetUiDisplayForClass()

ChrClassUIDisplayEntry const * DB2Manager::GetUiDisplayForClass ( Classes  unitClass) const

Definition at line 2094 of file DB2Stores.cpp.

◆ GetUiMapPosition()

bool DB2Manager::GetUiMapPosition ( float  x,
float  y,
float  z,
int32  mapId,
int32  areaId,
int32  wmoDoodadPlacementId,
int32  wmoGroupId,
UiMapSystem  system,
bool  local,
uint32 uiMapId = nullptr,
DBCPosition2D newPos = nullptr 
)
static

Definition at line 3368 of file DB2Stores.cpp.

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

◆ GetWMOAreaTable()

WMOAreaTableEntry const * DB2Manager::GetWMOAreaTable ( int32  rootId,
int32  adtId,
int32  groupId 
) const

Definition at line 3447 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ HasContentTuningLabel()

bool DB2Manager::HasContentTuningLabel ( uint32  contentTuningId,
int32  label 
) const

Definition at line 2223 of file DB2Stores.cpp.

◆ HasItemCurrencyCost()

bool DB2Manager::HasItemCurrencyCost ( uint32  itemId) const

Definition at line 2601 of file DB2Stores.cpp.

◆ InsertNewHotfix()

void DB2Manager::InsertNewHotfix ( uint32  tableHash,
uint32  recordId 
)
private

Definition at line 1944 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ Instance()

DB2Manager & DB2Manager::Instance ( )
static

Definition at line 622 of file DB2Stores.cpp.

◆ IsAzeriteItem()

bool DB2Manager::IsAzeriteItem ( uint32  itemId) const

Definition at line 2024 of file DB2Stores.cpp.

◆ IsInArea()

bool DB2Manager::IsInArea ( uint32  objectAreaId,
uint32  areaId 
)
static

Definition at line 1967 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ IsSpecSetMember()

bool DB2Manager::IsSpecSetMember ( int32  specSetId,
uint32  specId 
) const

Definition at line 3029 of file DB2Stores.cpp.

◆ IsTotemCategoryCompatibleWith()

bool DB2Manager::IsTotemCategoryCompatibleWith ( uint32  itemTotemCategoryId,
uint32  requiredTotemCategoryId,
bool  requireAllTotems = true 
)
static

Definition at line 3063 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ IsToyItem()

bool DB2Manager::IsToyItem ( uint32  toy) const

Definition at line 3084 of file DB2Stores.cpp.

◆ IsUiMapPhase()

bool DB2Manager::IsUiMapPhase ( uint32  phaseId) const

Definition at line 3442 of file DB2Stores.cpp.

◆ IsValidSpellFamiliyName()

bool DB2Manager::IsValidSpellFamiliyName ( SpellFamilyNames  family)
static

Definition at line 3034 of file DB2Stores.cpp.

+ Here is the caller graph for this function:

◆ LoadHotfixBlob()

void DB2Manager::LoadHotfixBlob ( uint32  localeMask)

Definition at line 1786 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ LoadHotfixData()

void DB2Manager::LoadHotfixData ( uint32  localeMask)

Definition at line 1716 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ LoadHotfixOptionalData()

void DB2Manager::LoadHotfixOptionalData ( uint32  localeMask)

Definition at line 1838 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ LoadStores()

uint32 DB2Manager::LoadStores ( std::string const &  dataPath,
LocaleConstant  defaultLocale 
)

Definition at line 628 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ Map2ZoneCoordinates()

void DB2Manager::Map2ZoneCoordinates ( uint32  areaId,
float &  x,
float &  y 
) const

Definition at line 3432 of file DB2Stores.cpp.

+ Here is the call graph for this function:

◆ ValidateName()

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

Definition at line 2795 of file DB2Stores.cpp.

◆ Zone2MapCoordinates()

bool DB2Manager::Zone2MapCoordinates ( uint32  areaId,
float &  x,
float &  y 
) const

Definition at line 3410 of file DB2Stores.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ DB2HotfixGeneratorBase

friend class DB2HotfixGeneratorBase
friend

Definition at line 549 of file DB2Stores.h.

Member Data Documentation

◆ _maxHotfixId

int32 DB2Manager::_maxHotfixId = 0
private

Definition at line 551 of file DB2Stores.h.


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