AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
DBCStructure.h File Reference
#include "DBCEnums.h"
#include "Define.h"
#include "SharedDefines.h"
#include "Util.h"
#include <array>
#include <map>
#include <set>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  AchievementEntry
 
struct  AchievementCategoryEntry
 
struct  AchievementCriteriaEntry
 
struct  AreaTableEntry
 
struct  AreaGroupEntry
 
struct  AreaPOIEntry
 
struct  AuctionHouseEntry
 
struct  BankBagSlotPricesEntry
 
struct  BarberShopStyleEntry
 
struct  BattlemasterListEntry
 
struct  CharStartOutfitEntry
 
struct  CharTitlesEntry
 
struct  ChatChannelsEntry
 
struct  ChrClassesEntry
 
struct  ChrRacesEntry
 
struct  CinematicCameraEntry
 
struct  CinematicSequencesEntry
 
struct  CreatureDisplayInfoEntry
 
struct  CreatureDisplayInfoExtraEntry
 
struct  CreatureFamilyEntry
 
struct  CreatureModelDataEntry
 
struct  CreatureSpellDataEntry
 
struct  CreatureTypeEntry
 
struct  CurrencyTypesEntry
 
struct  DestructibleModelDataEntry
 
struct  DungeonEncounterEntry
 
struct  DurabilityCostsEntry
 
struct  DurabilityQualityEntry
 
struct  EmotesEntry
 
struct  EmotesTextEntry
 
struct  FactionEntry
 
struct  FactionTemplateEntry
 
struct  GameObjectArtKitEntry
 
struct  GameObjectDisplayInfoEntry
 
struct  GemPropertiesEntry
 
struct  GlyphPropertiesEntry
 
struct  GlyphSlotEntry
 
struct  GtBarberShopCostBaseEntry
 
struct  GtCombatRatingsEntry
 
struct  GtChanceToMeleeCritBaseEntry
 
struct  GtChanceToMeleeCritEntry
 
struct  GtChanceToSpellCritBaseEntry
 
struct  GtNPCManaCostScalerEntry
 
struct  GtChanceToSpellCritEntry
 
struct  GtOCTClassCombatRatingScalarEntry
 
struct  GtOCTRegenHPEntry
 
struct  GtRegenHPPerSptEntry
 
struct  GtRegenMPPerSptEntry
 
struct  HolidaysEntry
 
struct  ItemEntry
 
struct  ItemBagFamilyEntry
 
struct  ItemDisplayInfoEntry
 
struct  ItemExtendedCostEntry
 
struct  ItemLimitCategoryEntry
 
struct  ItemRandomPropertiesEntry
 
struct  ItemRandomSuffixEntry
 
struct  ItemSetEntry
 
struct  LFGDungeonEntry
 
struct  LightEntry
 
struct  LiquidTypeEntry
 
struct  LockEntry
 
struct  MailTemplateEntry
 
struct  MapEntry
 
struct  MapDifficultyEntry
 
struct  MovieEntry
 
struct  NamesReservedEntry
 
struct  NamesProfanityEntry
 
struct  OverrideSpellDataEntry
 
struct  PowerDisplayEntry
 
struct  PvPDifficultyEntry
 
struct  QuestSortEntry
 
struct  QuestXPEntry
 
struct  QuestFactionRewEntry
 
struct  RandomPropertiesPointsEntry
 
struct  ScalingStatDistributionEntry
 
struct  ScalingStatValuesEntry
 
struct  SkillRaceClassInfoEntry
 
struct  SkillLineEntry
 
struct  SkillLineAbilityEntry
 
struct  SkillTiersEntry
 
struct  SoundEntriesEntry
 
struct  SpellEntry
 
struct  SpellCastTimesEntry
 
struct  SpellCategoryEntry
 
struct  SpellDifficultyEntry
 
struct  SpellFocusObjectEntry
 
struct  SpellRadiusEntry
 
struct  SpellRangeEntry
 
struct  SpellRuneCostEntry
 
struct  SpellShapeshiftEntry
 
struct  SpellDurationEntry
 
struct  SpellItemEnchantmentEntry
 
struct  SpellItemEnchantmentConditionEntry
 
struct  SpellVisualEntry
 
struct  StableSlotPricesEntry
 
struct  SummonPropertiesEntry
 
struct  TalentEntry
 
struct  TalentTabEntry
 
struct  TaxiNodesEntry
 
struct  TaxiPathEntry
 
struct  TaxiPathNodeEntry
 
struct  TeamContributionPointsEntry
 
struct  TotemCategoryEntry
 
struct  TransportAnimationEntry
 
struct  TransportRotationEntry
 
struct  VehicleEntry
 
struct  VehicleSeatEntry
 
struct  WMOAreaTableEntry
 
struct  WorldMapAreaEntry
 
struct  WorldMapOverlayEntry
 
struct  MapDifficulty
 
struct  TalentSpellPos
 

Macros

#define MAX_GROUP_AREA_IDS   6
 
#define MAX_OUTFIT_ITEMS   24
 
#define MAX_CREATURE_SPELL_DATA_SLOT   4
 
#define MAX_FACTION_RELATIONS   4
 
#define GT_MAX_LEVEL   100
 
#define GT_MAX_RATING   32
 
#define MAX_HOLIDAY_DURATIONS   10
 
#define MAX_HOLIDAY_DATES   26
 
#define MAX_HOLIDAY_FLAGS   10
 
#define MAX_ITEM_EXTENDED_COST_REQUIREMENTS   5
 
#define MAX_ITEM_ENCHANTMENT_EFFECTS   5
 
#define MAX_ITEM_SET_ITEMS   10
 
#define MAX_ITEM_SET_SPELLS   8
 
#define MAX_LOCK_CASE   8
 
#define MAX_OVERRIDE_SPELL   10
 
#define MAX_SKILL_STEP   16
 
#define MAX_SPELL_EFFECTS   3
 
#define MAX_EFFECT_MASK   7
 
#define MAX_SPELL_REAGENTS   8
 
#define MAX_SHAPESHIFT_SPELLS   8
 
#define MAX_SPELL_ITEM_ENCHANTMENT_EFFECTS   3
 
#define MAX_TALENT_RANK   5
 
#define MAX_PET_TALENT_RANK   3
 
#define MAX_TALENT_TABS   3
 
#define MAX_VEHICLE_SEATS   8
 
#define MAX_WORLD_MAP_OVERLAY_AREA_IDX   4
 

Typedefs

typedef std::set< std::pair< bool, uint32 > > SpellCategorySet
 
typedef std::unordered_map< uint32, SpellCategorySetSpellCategoryStore
 
typedef std::set< uint32PetFamilySpellsSet
 
typedef std::map< uint32, PetFamilySpellsSetPetFamilySpellsStore
 
typedef std::map< uint32, TalentSpellPosTalentSpellPosMap
 
typedef std::map< uint32, TaxiPathEntry const * > TaxiPathSetForSource
 
typedef std::map< uint32, TaxiPathSetForSourceTaxiPathSetBySource
 
typedef std::vector< TaxiPathNodeEntry const * > TaxiPathNodeList
 
typedef std::vector< TaxiPathNodeListTaxiPathNodesByPath
 
typedef std::array< uint32, TaxiMaskSizeTaxiMask
 

Enumerations

enum  ChrRacesFlags {
  CHRRACES_FLAGS_NOT_PLAYABLE = 0x01 ,
  CHRRACES_FLAGS_BARE_FEET = 0x02 ,
  CHRRACES_FLAGS_CAN_MOUNT = 0x04
}
 
enum  CreatureModelDataFlags { CREATURE_MODEL_DATA_FLAGS_CAN_MOUNT = 0x00000080 }
 

Variables

static constexpr size_t TaxiMaskSize = 14
 

Macro Definition Documentation

◆ GT_MAX_LEVEL

#define GT_MAX_LEVEL   100

◆ GT_MAX_RATING

#define GT_MAX_RATING   32

◆ MAX_CREATURE_SPELL_DATA_SLOT

#define MAX_CREATURE_SPELL_DATA_SLOT   4

◆ MAX_EFFECT_MASK

#define MAX_EFFECT_MASK   7

◆ MAX_FACTION_RELATIONS

#define MAX_FACTION_RELATIONS   4

◆ MAX_GROUP_AREA_IDS

#define MAX_GROUP_AREA_IDS   6

◆ MAX_HOLIDAY_DATES

#define MAX_HOLIDAY_DATES   26

◆ MAX_HOLIDAY_DURATIONS

#define MAX_HOLIDAY_DURATIONS   10

◆ MAX_HOLIDAY_FLAGS

#define MAX_HOLIDAY_FLAGS   10

◆ MAX_ITEM_ENCHANTMENT_EFFECTS

#define MAX_ITEM_ENCHANTMENT_EFFECTS   5

◆ MAX_ITEM_EXTENDED_COST_REQUIREMENTS

#define MAX_ITEM_EXTENDED_COST_REQUIREMENTS   5

◆ MAX_ITEM_SET_ITEMS

#define MAX_ITEM_SET_ITEMS   10

◆ MAX_ITEM_SET_SPELLS

#define MAX_ITEM_SET_SPELLS   8

◆ MAX_LOCK_CASE

#define MAX_LOCK_CASE   8

◆ MAX_OUTFIT_ITEMS

#define MAX_OUTFIT_ITEMS   24

◆ MAX_OVERRIDE_SPELL

#define MAX_OVERRIDE_SPELL   10

◆ MAX_PET_TALENT_RANK

#define MAX_PET_TALENT_RANK   3

◆ MAX_SHAPESHIFT_SPELLS

#define MAX_SHAPESHIFT_SPELLS   8

◆ MAX_SKILL_STEP

#define MAX_SKILL_STEP   16

◆ MAX_SPELL_EFFECTS

#define MAX_SPELL_EFFECTS   3

◆ MAX_SPELL_ITEM_ENCHANTMENT_EFFECTS

#define MAX_SPELL_ITEM_ENCHANTMENT_EFFECTS   3

◆ MAX_SPELL_REAGENTS

#define MAX_SPELL_REAGENTS   8

◆ MAX_TALENT_RANK

#define MAX_TALENT_RANK   5

◆ MAX_TALENT_TABS

#define MAX_TALENT_TABS   3

◆ MAX_VEHICLE_SEATS

#define MAX_VEHICLE_SEATS   8

◆ MAX_WORLD_MAP_OVERLAY_AREA_IDX

#define MAX_WORLD_MAP_OVERLAY_AREA_IDX   4

Typedef Documentation

◆ PetFamilySpellsSet

typedef std::set<uint32> PetFamilySpellsSet

◆ PetFamilySpellsStore

◆ SpellCategorySet

typedef std::set<std::pair<bool, uint32> > SpellCategorySet

◆ SpellCategoryStore

typedef std::unordered_map<uint32, SpellCategorySet> SpellCategoryStore

◆ TalentSpellPosMap

◆ TaxiMask

typedef std::array<uint32, TaxiMaskSize> TaxiMask

◆ TaxiPathNodeList

typedef std::vector<TaxiPathNodeEntry const*> TaxiPathNodeList

◆ TaxiPathNodesByPath

typedef std::vector<TaxiPathNodeList> TaxiPathNodesByPath

◆ TaxiPathSetBySource

◆ TaxiPathSetForSource

typedef std::map<uint32, TaxiPathEntry const*> TaxiPathSetForSource

Enumeration Type Documentation

◆ ChrRacesFlags

Enumerator
CHRRACES_FLAGS_NOT_PLAYABLE 
CHRRACES_FLAGS_BARE_FEET 
CHRRACES_FLAGS_CAN_MOUNT 
672{
676};
@ CHRRACES_FLAGS_NOT_PLAYABLE
Definition: DBCStructure.h:673
@ CHRRACES_FLAGS_CAN_MOUNT
Definition: DBCStructure.h:675
@ CHRRACES_FLAGS_BARE_FEET
Definition: DBCStructure.h:674

◆ CreatureModelDataFlags

Enumerator
CREATURE_MODEL_DATA_FLAGS_CAN_MOUNT 
770{
772};
@ CREATURE_MODEL_DATA_FLAGS_CAN_MOUNT
Definition: DBCStructure.h:771

Variable Documentation

◆ TaxiMaskSize