Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
DBCStructure.h File Reference
#include "Common.h"
#include "DBCEnums.h"
#include "Define.h"
#include "Path.h"
#include "Util.h"
#include <map>
#include <set>
#include <unordered_map>
#include <vector>
Include dependency graph for DBCStructure.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AchievementEntry
struct  AreaGroupEntry
struct  AreaTableEntry
struct  AreaTriggerEntry
struct  ArmorLocationEntry
struct  AuctionHouseEntry
struct  BankBagSlotPricesEntry
struct  BannedAddOnsEntry
struct  BarberShopStyleEntry
struct  BattlemasterListEntry
struct  CharStartOutfitEntry
struct  CharTitlesEntry
struct  ChatChannelsEntry
struct  ChrClassesEntry
struct  ChrPowerTypesEntry
struct  ChrRacesEntry
struct  ChrSpecializationEntry
struct  CinematicCameraEntry
struct  CinematicSequencesEntry
struct  CreatureDisplayInfoEntry
struct  CreatureFamilyEntry
struct  CreatureModelDataEntry
struct  CreatureSpellDataEntry
struct  CreatureTypeEntry
struct  CriteriaEntry
struct  CriteriaTreeEntry
struct  CurrencyTypesEntry
struct  DestructibleModelDataEntry
struct  DifficultyEntry
struct  DungeonEncounterEntry
struct  DurabilityCostsEntry
struct  DurabilityQualityEntry
struct  EmotesEntry
struct  EmotesTextEntry
struct  FactionEntry
struct  FactionTemplateEntry
struct  GameObjectDisplayInfoEntry
struct  GemPropertiesEntry
struct  GlyphPropertiesEntry
struct  GlyphSlotEntry
struct  GtBarberShopCostBaseEntry
struct  GtBattlePetXpEntry
struct  GtChanceToMeleeCritBaseEntry
struct  GtChanceToMeleeCritEntry
struct  GtChanceToSpellCritBaseEntry
struct  GtChanceToSpellCritEntry
struct  GtCombatRatingsEntry
struct  GtNPCManaCostScalerEntry
struct  GtOCTBaseHPByClassEntry
struct  GtOCTBaseMPByClassEntry
struct  GtOCTClassCombatRatingScalarEntry
struct  gtOCTHpPerStaminaEntry
struct  GtRegenMPPerSptEntry
struct  GtSpellScalingEntry
struct  GuildPerkSpellsEntry
struct  HolidaysEntry
struct  ImportPriceArmorEntry
struct  ImportPriceQualityEntry
struct  ImportPriceShieldEntry
struct  ImportPriceWeaponEntry
struct  ItemArmorQualityEntry
struct  ItemArmorShieldEntry
struct  ItemArmorTotalEntry
struct  ItemClassEntry
struct  ItemDamageEntry
struct  ItemDisenchantLootEntry
struct  ItemLimitCategoryEntry
struct  ItemPriceBaseEntry
struct  ItemRandomPropertiesEntry
struct  ItemRandomSuffixEntry
struct  ItemReforgeEntry
struct  ItemSetEntry
struct  LFGDungeonEntry
struct  LiquidTypeEntry
struct  LockEntry
struct  MailTemplateEntry
struct  MapDifficulty
struct  MapDifficultyEntry
struct  MapEntry
struct  ModifierTreeEntry
struct  MountCapabilityEntry
struct  MountTypeEntry
struct  MovieEntry
struct  NameGenEntry
struct  OverrideSpellDataEntry
struct  PhaseEntry
struct  PhaseGroupEntry
struct  PvPDifficultyEntry
struct  QuestFactionRewEntry
struct  QuestPOIPointEntry
struct  QuestSortEntry
struct  QuestXPEntry
struct  RandomPropertiesPointsEntry
struct  ResearchBranchEntry
struct  ResearchProjectEntry
struct  ResearchSiteEntry
struct  ScalingStatDistributionEntry
struct  ScalingStatValuesEntry
struct  SkillLineAbilityEntry
struct  SkillLineEntry
struct  SoundEntriesEntry
struct  SpecializationSpellsEntry
struct  SpellAuraOptionsEntry
struct  SpellAuraRestrictionsEntry
struct  SpellCastingRequirementsEntry
struct  SpellCastTimesEntry
struct  SpellCategoriesEntry
struct  SpellCategoryEntry
struct  SpellClassOptionsEntry
struct  SpellCooldownsEntry
struct  SpellDifficultyEntry
struct  SpellDurationEntry
struct  SpellEffectEntry
struct  SpellEffectScalingEntry
struct  SpellEntry
struct  SpellEquippedItemsEntry
struct  SpellFocusObjectEntry
struct  SpellInterruptsEntry
struct  SpellItemEnchantmentConditionEntry
struct  SpellItemEnchantmentEntry
struct  SpellLevelsEntry
struct  SpellMiscEntry
struct  SpellPowerEntry
struct  SpellRadiusEntry
struct  SpellRangeEntry
struct  SpellRuneCostEntry
struct  SpellScalingEntry
struct  SpellShapeshiftEntry
struct  SpellShapeshiftFormEntry
struct  SpellTargetRestrictionsEntry
struct  SpellTotemsEntry
struct  SummonPropertiesEntry
struct  TalentEntry
struct  TalentSpellPos
struct  TaxiNodesEntry
struct  TaxiPathBySourceAndDestination
struct  TaxiPathEntry
struct  TaxiPathNodeEntry
struct  TaxiPathNodePtr
struct  TotemCategoryEntry
struct  TransportAnimationEntry
struct  TransportRotationEntry
struct  UnitPowerBarEntry
struct  VectorArray
struct  VehicleEntry
struct  VehicleSeatEntry
struct  WMOAreaTableEntry
struct  WorldMapAreaEntry
struct  WorldMapOverlayEntry
struct  WorldSafeLocsEntry

Macros

#define GT_MAX_LEVEL   100
#define GT_MAX_RATING   32
#define MAX_CREATURE_SPELL_DATA_SLOT   4
#define MAX_EFFECT_MASK   0xFFFFFFFF
#define MAX_FACTION_RELATIONS   4
#define MAX_GROUP_AREA_IDS   6
#define MAX_HOLIDAY_DATES   26
#define MAX_HOLIDAY_DURATIONS   10
#define MAX_HOLIDAY_FLAGS   10
#define MAX_ITEM_ENCHANTMENT_EFFECTS   3
#define MAX_ITEM_SET_SPELLS   8
#define MAX_LOCK_CASE   8
#define MAX_MOUNT_CAPABILITIES   24
#define MAX_OUTFIT_ITEMS   24
#define MAX_OVERRIDE_SPELL   10
#define MAX_PET_TALENT_RANK   1
#define MAX_SHAPESHIFT_SPELLS   8
#define MAX_SPELL_EFFECTS   32
#define MAX_SPELL_TOTEMS   2
#define MAX_TALENT_RANK   1
#define MAX_TALENT_TABS   4
#define MAX_VEHICLE_SEATS   8
#define MAX_WORLD_MAP_OVERLAY_AREA_IDX   4
#define TaxiMaskSize   162

Typedefs

typedef UNORDERED_MAP< uint32, uint32ClassBySkillIdStore
typedef std::map< uint32, VectorArrayNameGenVectorArraysMap
typedef std::set< uint32PetFamilySpellsSet
typedef std::map< uint32, PetFamilySpellsSetPetFamilySpellsStore
typedef std::unordered_map< uint32, std::set< uint32 > > PhaseGroupContainer
typedef std::set< uint32SpellCategorySet
typedef std::map< uint32, SpellCategorySetSpellCategoryStore
typedef UNORDERED_MAP< uint32, uint32SpellEffectScallingByEffectId
typedef UNORDERED_MAP< uint32, std::list< SkillLineAbilityEntry const * > > SpellsPerClassStore
typedef std::map< uint32, TalentSpellPosTalentSpellPosMap
typedef uint8 TaxiMask[TaxiMaskSize]
typedef Path< TaxiPathNodePtr, TaxiPathNodeEntry const > TaxiPathNodeList
typedef std::vector< TaxiPathNodeListTaxiPathNodesByPath
typedef std::map< uint32, TaxiPathSetForSourceTaxiPathSetBySource
typedef std::map< uint32, TaxiPathBySourceAndDestinationTaxiPathSetForSource

Macro Definition Documentation

◆ GT_MAX_LEVEL

◆ GT_MAX_RATING

#define GT_MAX_RATING   32

Definition at line 1586 of file DBCStructure.h.

Referenced by Player::GetRatingMultiplier().

◆ MAX_CREATURE_SPELL_DATA_SLOT

◆ MAX_EFFECT_MASK

◆ MAX_FACTION_RELATIONS

#define MAX_FACTION_RELATIONS   4

◆ MAX_GROUP_AREA_IDS

#define MAX_GROUP_AREA_IDS   6

Definition at line 688 of file DBCStructure.h.

Referenced by SpellInfo::CheckLocation().

◆ MAX_HOLIDAY_DATES

#define MAX_HOLIDAY_DATES   26

Definition at line 1693 of file DBCStructure.h.

◆ MAX_HOLIDAY_DURATIONS

#define MAX_HOLIDAY_DURATIONS   10

Definition at line 1692 of file DBCStructure.h.

◆ MAX_HOLIDAY_FLAGS

#define MAX_HOLIDAY_FLAGS   10

Definition at line 1694 of file DBCStructure.h.

◆ MAX_ITEM_ENCHANTMENT_EFFECTS

◆ MAX_ITEM_SET_SPELLS

#define MAX_ITEM_SET_SPELLS   8

◆ MAX_LOCK_CASE

#define MAX_LOCK_CASE   8

◆ MAX_MOUNT_CAPABILITIES

#define MAX_MOUNT_CAPABILITIES   24

Definition at line 2048 of file DBCStructure.h.

Referenced by Unit::GetMountCapability().

◆ MAX_OUTFIT_ITEMS

#define MAX_OUTFIT_ITEMS   24

◆ MAX_OVERRIDE_SPELL

#define MAX_OVERRIDE_SPELL   10

Definition at line 2072 of file DBCStructure.h.

Referenced by AuraEffect::HandleAuraOverrideSpells().

◆ MAX_PET_TALENT_RANK

#define MAX_PET_TALENT_RANK   1

Definition at line 2717 of file DBCStructure.h.

◆ MAX_SHAPESHIFT_SPELLS

#define MAX_SHAPESHIFT_SPELLS   8

Definition at line 2654 of file DBCStructure.h.

Referenced by AuraEffect::HandleAuraModShapeshift().

◆ MAX_SPELL_EFFECTS

#define MAX_SPELL_EFFECTS   32

Definition at line 2584 of file DBCStructure.h.

Referenced by Unit::_ApplyAura(), Spell::_handle_immediate_phase(), Aura::_InitEffects(), AuraApplication::_InitFlags(), SpellInfo::_InitializeExplicitTargetMask(), SpellInfo::_IsPositiveEffect(), SpellInfo::_IsPositiveSpell(), Pet::_SaveAuras(), Player::_SaveAuras(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::_UnapplyAura(), SpellInfo::_UnloadImplicitTargetConditionLists(), Unit::AddAura(), Spell::AddGOTarget(), Spell::AddItemTarget(), ObjectMgr::AddSpellToTrainer(), ConditionMgr::addToSpellImplicitTargetConditions(), Spell::AddUnitTarget(), AuraEffect::ApplySpellMod(), Aura::BuildEffectMaskForOwner(), Unit::BuildValuesUpdate(), ThreatCalcHelper::calcThreat(), Spell::CanAutoCast(), Spell::CanExecuteTriggersOnHit(), Aura::CanStackWith(), GameObject::CastSpell(), Spell::CheckCast(), Spell::CheckCasterAuras(), Spell::CheckItems(), SpellInfo::CheckLocation(), SpellInfo::CheckVehicle(), AuraApplication::ClientUpdate(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), Spell::DoAllEffectOnTarget(), Spell::DoAllEffectOnTarget(), Spell::DoSpellHitOnUnit(), _SpellScript::EffectHook::EffectHook(), Spell::EffectWeaponDmg(), Spell::ExecuteLogEffectCreateItem(), Spell::ExecuteLogEffectDestroyItem(), Spell::ExecuteLogEffectDurabilityDamage(), Spell::ExecuteLogEffectExtraAttacks(), Spell::ExecuteLogEffectOpenLock(), Spell::ExecuteLogEffectResurrect(), Spell::ExecuteLogEffectSummonObject(), Spell::ExecuteLogEffectTakeTargetPower(), Spell::ExecuteLogEffectUnsummonObject(), UnitAI::FillAISpellInfo(), ScriptMgr::FillSpellSummary(), DynObjAura::FillTargetMap(), UnitAura::FillTargetMap(), _SpellScript::EffectHook::GetAffectedEffectsMask(), SpellInfo::GetAllEffectsMechanicMask(), SpellInfo::GetAuraRankForLevel(), SpellInfo::GetAuraState(), Unit::GetCastingTimeForBonus(), GetDiminishingReturnsGroupForSpell(), Aura::GetEffect(), Aura::GetEffectMask(), SpellInfo::GetMaxTicks(), Unit::GetMechanicResistChance(), SpellInfo::GetSpellMechanicMaskByEffectMask(), SpellInfo::GetSpellSpecific(), Player::GetTrainerSpellState(), Aura::HandleAllEffects(), AuraEffect::HandleAuraMounted(), Unit::HandleAuraProc(), Spell::HandleLaunchPhase(), spell_monk_diffuse_magic::spell_monk_diffuse_magic_SpellScript::HandleOnHit(), WorldSession::HandlePetActionHelper(), Unit::HandleSpellClick(), SpellInfo::HasAnyEffectMechanic(), SpellInfo::HasAreaAuraEffect(), SpellInfo::HasAura(), Unit::HasAuraWithMechanic(), AuraApplication::HasEffect(), SpellInfo::HasEffect(), Aura::HasEffectType(), SpellInfo::IsAffectingArea(), Aura::IsArea(), Unit::IsDamageReducedByArmor(), Creature::IsImmunedToSpell(), Unit::IsImmunedToSpell(), SpellInfo::IsPrimaryProfession(), SpellInfo::IsProfession(), SpellInfo::IsProfessionOrRiding(), ConditionMgr::isSourceTypeValid(), SpellMgr::IsSpellValid(), SpellInfo::IsStackableWithRanks(), SpellInfo::IsTargetingArea(), Player::learnQuestRewardedSpells(), SpellMgr::LoadEnchantCustomAttr(), ObjectMgr::LoadEventScripts(), SmartAIMgr::LoadHelperStores(), SpellMgr::LoadPetDefaultSpells(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSkills(), SpellMgr::LoadSpellLearnSpells(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), Aura::ModStackAmount(), SpellInfo::NeedsToBeTriggeredByCaster(), Spell::prepare(), Unit::ProcDamageAndSpellFor(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), Aura::RecalculateAmountOfEffects(), Aura::RefreshTimers(), Unit::RemoveAura(), Unit::RemoveAurasDueToSpellBySteal(), Player::removeSpell(), Player::RemoveTalent(), Player::ResetTalents(), Spell::SelectEffectImplicitTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectSpellTargets(), Player::SendAurasForTarget(), Spell::SendCastResult(), WorldSession::SendTrainerList(), Aura::SetLoadedState(), Unit::SetMinion(), Aura::SetStackAmount(), Spell::Spell(), SpellEffectArray::SpellEffectArray(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), SpellInfo::SpellInfo(), SpellValue::SpellValue(), Aura::TriggerProcOnEvent(), Spell::UpdateChanneledTargetList(), Aura::UpdateOwner(), Spell::UpdatePointers(), Aura::UpdateTargetMap(), and Aura::~Aura().

◆ MAX_SPELL_TOTEMS

#define MAX_SPELL_TOTEMS   2

Definition at line 2540 of file DBCStructure.h.

◆ MAX_TALENT_RANK

#define MAX_TALENT_RANK   1

Definition at line 2716 of file DBCStructure.h.

Referenced by TransportMgr::LoadDBCStores.

◆ MAX_TALENT_TABS

#define MAX_TALENT_TABS   4

◆ MAX_VEHICLE_SEATS

#define MAX_VEHICLE_SEATS   8

Definition at line 2823 of file DBCStructure.h.

Referenced by Vehicle::Vehicle().

◆ MAX_WORLD_MAP_OVERLAY_AREA_IDX

#define MAX_WORLD_MAP_OVERLAY_AREA_IDX   4

Definition at line 2957 of file DBCStructure.h.

Referenced by AchievementMgr< T >::RequirementsSatisfied().

◆ TaxiMaskSize

Typedef Documentation

◆ ClassBySkillIdStore

Definition at line 2602 of file DBCStructure.h.

◆ NameGenVectorArraysMap

Definition at line 3037 of file DBCStructure.h.

◆ PetFamilySpellsSet

typedef std::set<uint32> PetFamilySpellsSet

Definition at line 2599 of file DBCStructure.h.

◆ PetFamilySpellsStore

Definition at line 2600 of file DBCStructure.h.

◆ PhaseGroupContainer

typedef std::unordered_map<uint32, std::set<uint32> > PhaseGroupContainer

Definition at line 3030 of file DBCStructure.h.

◆ SpellCategorySet

typedef std::set<uint32> SpellCategorySet

Definition at line 2355 of file DBCStructure.h.

◆ SpellCategoryStore

Definition at line 2356 of file DBCStructure.h.

◆ SpellEffectScallingByEffectId

◆ SpellsPerClassStore

Definition at line 2601 of file DBCStructure.h.

◆ TalentSpellPosMap

Definition at line 3062 of file DBCStructure.h.

◆ TaxiMask

typedef uint8 TaxiMask[TaxiMaskSize]

Definition at line 3087 of file DBCStructure.h.

◆ TaxiPathNodeList

Definition at line 3083 of file DBCStructure.h.

◆ TaxiPathNodesByPath

typedef std::vector<TaxiPathNodeList> TaxiPathNodesByPath

Definition at line 3084 of file DBCStructure.h.

◆ TaxiPathSetBySource

Definition at line 3073 of file DBCStructure.h.

◆ TaxiPathSetForSource

Definition at line 3072 of file DBCStructure.h.