18#ifndef TRINITY_DBCSTRUCTURE_H
19#define TRINITY_DBCSTRUCTURE_H
37 std::array<char const*, 16>
Title;
217#define MAX_GROUP_AREA_IDS 6
328#define MAX_OUTFIT_ITEMS 24
665#define MAX_FACTION_RELATIONS 4
758#define GT_MAX_LEVEL 100
760#define GT_MAX_RATING 32
842#define MAX_HOLIDAY_DURATIONS 10
843#define MAX_HOLIDAY_DATES 26
844#define MAX_HOLIDAY_FLAGS 10
909#define MAX_ITEM_EXTENDED_COST_REQUIREMENTS 5
932#define MAX_ITEM_ENCHANTMENT_EFFECTS 3
940 std::array<char const*, 16>
Name;
947 std::array<char const*, 16>
Name;
956#define MAX_ITEM_SET_ITEMS 10
957#define MAX_ITEM_SET_SPELLS 8
1043#define MAX_LOCK_CASE 8
1110 return ID == 0 ||
ID == 1 ||
ID == 530 ||
ID == 571;
1149#define MAX_OVERRIDE_SPELL 10
1259 if (mask & 0x00F001E0)
1283 if (mask & 0x00002000)
return RangedDPS;
1284 if (mask & 0x00004000)
return WandDPS;
1293 if (mask & 0x00000400)
return true;
1294 if (mask & 0x00001000)
return true;
1366#define MAX_SKILL_STEP 16
1447 std::array<uint32, MAX_SPELL_EFFECTS>
Effect;
1600#define MAX_SHAPESHIFT_SPELLS 8
1760#define MAX_VEHICLE_SEATS 8
1896#define MAX_WORLD_MAP_OVERLAY_AREA_IDX 4
@ VEHICLE_SEAT_FLAG_SHOULD_USE_VEH_SEAT_EXIT_ANIM_ON_VOLUNTARY_EXIT
@ VEHICLE_SEAT_FLAG_CAN_SWITCH
@ VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT
@ VEHICLE_SEAT_FLAG_CAN_CONTROL
@ VEHICLE_SEAT_FLAG_UNCONTROLLED
@ VEHICLE_SEAT_FLAG_UNK18
@ VEHICLE_SEAT_FLAG_B_EJECTABLE
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED_3
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED_2
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4
#define MAX_CRITERIA_REQUIREMENTS
@ MAP_FLAG_DYNAMIC_DIFFICULTY
@ FACTION_TEMPLATE_FLAG_CONTESTED_GUARD
@ SECTION_TYPE_FACIAL_HAIR
std::vector< TaxiPathNodeList > TaxiPathNodesByPath
#define MAX_ITEM_SET_SPELLS
std::map< uint32, TaxiPathBySourceAndDestination > TaxiPathSetForSource
#define MAX_ITEM_EXTENDED_COST_REQUIREMENTS
#define MAX_VEHICLE_SEATS
@ CREATURE_TYPE_ENTRY_FLAGS_IGNORED_TAB_TARGETING
std::vector< TaxiPathNodeEntry const * > TaxiPathNodeList
@ SECTION_FLAG_DEATH_KNIGHT
#define MAX_ITEM_SET_ITEMS
@ CHRRACES_FLAGS_NOT_PLAYABLE
@ CHRRACES_FLAGS_CAN_MOUNT
@ CHRRACES_FLAGS_BARE_FEET
#define MAX_SHAPESHIFT_SPELLS
std::map< uint32, TaxiPathSetForSource > TaxiPathSetBySource
@ CREATURE_MODEL_DATA_FLAGS_CAN_MOUNT
#define MAX_WORLD_MAP_OVERLAY_AREA_IDX
#define MAX_GROUP_AREA_IDS
#define MAX_FACTION_RELATIONS
#define MAX_HOLIDAY_FLAGS
@ CHRRACES_ALLIANCE_TYPE_HORDE
@ CHRRACES_ALLIANCE_TYPE_NOT_PLAYABLE
@ CHRRACES_ALLIANCE_TYPE_ALLIANCE
std::set< uint32 > PetFamilySpellsSet
#define MAX_HOLIDAY_DURATIONS
std::map< uint32, PetFamilySpellsSet > PetFamilySpellsStore
#define MAX_HOLIDAY_DATES
std::map< uint32, TalentSpellPos > TalentSpellPosMap
#define MAX_ITEM_ENCHANTMENT_EFFECTS
#define MAX_OVERRIDE_SPELL
#define MAX_CREATURE_SPELL_DATA_SLOT
union AchievementCriteriaEntry::@279 Asset
struct AchievementCriteriaEntry::@280 AdditionalRequirements[MAX_CRITERIA_REQUIREMENTS]
std::array< char const *, 16 > Title
uint32 AreaID[MAX_GROUP_AREA_IDS]
char const * AreaName[16]
bool HasFlag(CharSectionFlags flag) const
int32 ItemID[MAX_OUTFIT_ITEMS]
uint32 CinematicSequenceID
uint32 ResSicknessSpellID
bool HasFlag(ChrRacesFlags flag) const
uint32 CinematicSequenceID
uint32 ExtendedDisplayInfoID
bool HasFlag(CreatureModelDataFlags flag) const
uint32 ArmorSubClassCost[8]
uint32 WeaponSubClassCost[21]
uint32 EmoteSpecProcParam
uint32 ReputationClassMask[4]
uint32 ParentFactionCap[2]
uint32 ReputationRaceMask[4]
bool CanHaveReputation() const
float ParentFactionMod[2]
bool IsHostileTo(FactionTemplateEntry const &entry) const
bool IsHostileToPlayers() const
bool IsContestedGuardFaction() const
uint32 Enemies[MAX_FACTION_RELATIONS]
bool IsNeutralToAll() const
bool IsFriendlyTo(FactionTemplateEntry const &entry) const
uint32 Friend[MAX_FACTION_RELATIONS]
uint32 Duration[MAX_HOLIDAY_DURATIONS]
char const * TextureFilename
uint32 Date[MAX_HOLIDAY_DATES]
int32 SoundOverrideSubclassID
uint32 ItemID[MAX_ITEM_EXTENDED_COST_REQUIREMENTS]
uint32 ItemCount[MAX_ITEM_EXTENDED_COST_REQUIREMENTS]
uint32 RequiredArenaRating
std::array< char const *, 16 > Name
std::array< uint32, MAX_ITEM_ENCHANTMENT_EFFECTS > Enchantment
std::array< char const *, 16 > Name
std::array< uint32, MAX_ITEM_ENCHANTMENT_EFFECTS > AllocationPct
std::array< uint32, MAX_ITEM_ENCHANTMENT_EFFECTS > Enchantment
uint32 SetThreshold[MAX_ITEM_SET_SPELLS]
uint32 ItemID[MAX_ITEM_SET_ITEMS]
uint32 SetSpellID[MAX_ITEM_SET_SPELLS]
uint32 Type[MAX_LOCK_CASE]
uint32 Index[MAX_LOCK_CASE]
uint32 Skill[MAX_LOCK_CASE]
MapDifficulty(uint32 _resetTime, uint32 _maxPlayers, bool _hasErrorMessage)
bool IsBattleground() const
bool GetEntrancePos(int32 &mapid, float &x, float &y) const
bool IsNonRaidDungeon() const
bool IsBattlegroundOrArena() const
bool IsBattleArena() const
bool IsDynamicDifficultyMap() const
bool Instanceable() const
BattlegroundBracketId GetBracketId() const
uint32 getFeralBonus(uint32) const
uint32 getArmorMod(uint32 mask) const
uint32 PlateShoulderArmor
uint32 ClothShoulderArmor
bool isTwoHand(uint32 mask) const
uint32 LeatherShoulderArmor
uint32 getDPSMod(uint32 mask) const
uint32 getssdMultiplier(uint32 mask) const
uint32 getSpellBonus(uint32 mask) const
uint32 TrivialSkillLineRankHigh
uint32 TrivialSkillLineRankLow
char const * DisplayName[16]
uint32 Value[MAX_SKILL_STEP]
int32 DifficultySpellID[MAX_DIFFICULTY]
uint32 AuraInterruptFlags
std::array< float, MAX_SPELL_EFFECTS > EffectBonusCoefficient
std::array< int32, MAX_SPELL_EFFECTS > EffectMiscValue
std::array< uint32, 2 > ShapeshiftExclude
std::array< flag96, MAX_SPELL_EFFECTS > EffectSpellClassMask
std::array< uint32, MAX_SPELL_EFFECTS > EffectChainTargets
std::array< uint32, 2 > SpellVisualID
uint32 CategoryRecoveryTime
std::array< uint32, MAX_SPELL_EFFECTS > EffectTriggerSpell
std::array< uint32, MAX_SPELL_EFFECTS > EffectMechanic
uint32 TargetCreatureType
std::array< uint32, MAX_SPELL_EFFECTS > EffectAuraPeriod
std::array< uint32, 2 > RequiredTotemCategoryID
std::array< uint32, MAX_SPELL_EFFECTS > EffectImplicitTargetA
std::array< uint32, MAX_SPELL_EFFECTS > EffectRadiusIndex
std::array< uint32, MAX_SPELL_EFFECTS > EffectItemType
std::array< char const *, 16 > Name
uint32 StartRecoveryCategory
std::array< uint32, MAX_SPELL_EFFECTS > EffectAura
int32 EquippedItemSubclass
std::array< int32, MAX_SPELL_EFFECTS > EffectBasePoints
std::array< float, MAX_SPELL_EFFECTS > EffectPointsPerCombo
std::array< uint32, MAX_SPELL_EFFECTS > EffectImplicitTargetB
uint32 ExcludeTargetAuraSpell
uint32 ExcludeCasterAuraState
uint32 ChannelInterruptFlags
std::array< uint32, MAX_SPELL_EFFECTS > Effect
std::array< float, MAX_SPELL_EFFECTS > EffectChainAmplitude
uint32 RequiresSpellFocus
std::array< char const *, 16 > NameSubtext
std::array< float, MAX_SPELL_EFFECTS > EffectAmplitude
std::array< float, MAX_SPELL_EFFECTS > EffectRealPointsPerLevel
uint32 ExcludeCasterAuraSpell
int32 EquippedItemInvTypes
std::array< int32, MAX_SPELL_EFFECTS > EffectMiscValueB
std::array< uint32, 2 > Totem
std::array< uint32, 2 > ShapeshiftMask
std::array< uint32, MAX_SPELL_REAGENTS > ReagentCount
uint32 ManaPerSecondPerLevel
std::array< int32, MAX_SPELL_REAGENTS > Reagent
std::array< int32, MAX_SPELL_EFFECTS > EffectDieSides
uint32 ExcludeTargetAuraState
uint32 EffectPointsMin[MAX_ITEM_ENCHANTMENT_EFFECTS]
uint32 Effect[MAX_ITEM_ENCHANTMENT_EFFECTS]
uint32 EffectArg[MAX_ITEM_ENCHANTMENT_EFFECTS]
bool NoRunicPowerGain() const
uint32 PresetSpellID[MAX_SHAPESHIFT_SPELLS]
uint32 CreatureDisplayID[4]
std::array< uint32, MAX_TALENT_RANK > SpellRank
TalentSpellPos(uint16 _talent_id, uint8 _rank)
uint32 MountCreatureID[2]
TaxiPathBySourceAndDestination()
TaxiPathBySourceAndDestination(uint32 _id, uint32 _price)
float MouseLookOffsetPitch
float CameraFadeDistScalarMin
uint32 VehicleUIIndicatorID
char const * MsslTrgtArcTexture
char const * MsslTrgtImpactModel[2]
float MsslTrgtTurnLingering
float MsslTrgtPitchLingering
float MsslTrgtMouseLingering
float CameraFadeDistScalarMax
float MsslTrgtImpactTexRadius
uint32 SeatID[MAX_VEHICLE_SEATS]
float MsslTrgtImpactRadius[2]
char const * MsslTrgtImpactTexture
bool HasFlag(VehicleSeatFlags flag) const
int32 VehicleEnterAnimBone
bool CanEnterOrExit() const
float VehicleExitAnimDelay
int32 VehicleRideAnimLoop
float VehicleEnterAnimDelay
bool HasFlag(VehicleSeatFlagsB flag) const
int32 PassengerAttachmentID
bool IsUsableByOverride() const
bool CanSwitchFromSeat() const
uint32 VehicleAbilityDisplay
int32 VehicleExitAnimBone
int32 VehicleRideAnimLoopBone
DBCPosition3D AttachmentOffset
uint32 AreaID[MAX_WORLD_MAP_OVERLAY_AREA_IDX]