From 00360d7ef801ffdbc44cecda7a62a46c2f2d6d73 Mon Sep 17 00:00:00 2001 From: MadMax Date: Mon, 6 Jul 2026 23:05:46 +0100 Subject: [PATCH] docs(dbc): add legacy-name breadcrumbs to renamed DBCStructure fields Post-#428 review follow-up (antz): the build-exact rename made some members read generically (e.g. SpellName -> Name_lang), so a `git grep` for the old mangos field name no longer found the field. Append a `(was )` breadcrumb to each renamed active member's comment so the old name stays greppable and the field remains easy to hunt down a year from now. Comment-only, no code change: 117 fields across 30 structs, every one a pure trailing-comment append (verified: 0 declaration/type/name edits). The legacy names are generated from the campaign's authoritative rename maps (reconciliation.json + spell-rename-map.json) and every one was validated as a real pre-#428 active member. Pure case reformats (findable by case-insensitive grep) are intentionally skipped. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/game/Server/DBCStructure.h | 234 ++++++++++++++++----------------- 1 file changed, 117 insertions(+), 117 deletions(-) diff --git a/src/game/Server/DBCStructure.h b/src/game/Server/DBCStructure.h index b85e3b571..56e9afcea 100644 --- a/src/game/Server/DBCStructure.h +++ b/src/game/Server/DBCStructure.h @@ -53,23 +53,23 @@ struct AreaTableEntry { uint32 ID; // 0 m_ID - ID of the Area within the DBC. - uint32 ContinentID; // 1 m_ContinentID - ID of the Continent in DBC (0 = Azeroth, 1 = Kalimdor, ...) - uint32 ParentAreaID; // 2 m_ParentAreaID - ID of the parent area. - uint32 AreaBit; // 3 m_AreaBit - + uint32 ContinentID; // 1 m_ContinentID - ID of the Continent in DBC (0 = Azeroth, 1 = Kalimdor, ...) (was mapid) + uint32 ParentAreaID; // 2 m_ParentAreaID - ID of the parent area. (was zone) + uint32 AreaBit; // 3 m_AreaBit - (was exploreFlag) uint32 Flags; // 4 m_flags - // uint32 SoundProviderPref; // 5 SoundProviderPref (uint) - server-unused // uint32 SoundProviderPrefUnderwater; // 6 SoundProviderPrefUnderwater (uint) - server-unused // uint32 AmbienceID; // 7 AmbienceID (uint) - server-unused // uint32 ZoneMusic; // 8 ZoneMusic (uint) - server-unused // uint32 IntroSound; // 9 IntroSound (uint) - server-unused - int32 ExplorationLevel; // 10 m_ExplorationLevel - Level of Area, used for XP reward calculation. - char* AreaName_lang[8]; // 11-18 m_AreaName_lang - Area Name, position is relying on locale. + int32 ExplorationLevel; // 10 m_ExplorationLevel - Level of Area, used for XP reward calculation. (was area_level) + char* AreaName_lang[8]; // 11-18 m_AreaName_lang - Area Name, position is relying on locale. (was area_name) // uint32 AreaName_lang_flags; // 19 AreaName_lang_flags (uint) - server-unused - uint32 FactionGroupMask; // 20 m_factionGroupMask - Define the faction owning the area (see AreaTeams for values). + uint32 FactionGroupMask; // 20 m_factionGroupMask - Define the faction owning the area (see AreaTeams for values). (was team) // int32 LiquidTypeID_0; // 21 LiquidTypeID_0 (int) - server-unused // int32 LiquidTypeID_1; // 22 LiquidTypeID_1 (int) - server-unused // int32 LiquidTypeID_2; // 23 LiquidTypeID_2 (int) - server-unused - uint32 LiquidTypeID_3; // 24 m_liquidTypeID - Override for water type (only used for Naxxramass ATM). + uint32 LiquidTypeID_3; // 24 m_liquidTypeID - Override for water type (only used for Naxxramass ATM). (was LiquidTypeOverride) }; /** @@ -84,10 +84,10 @@ struct AreaTriggerEntry float y; // 3 - Y position of the Area Trigger Entry. float z; // 4 - Z position of the Area Trigger Entry. float radius; // 5 - Radius around the Area Trigger point. - float box_length; // 6 - extent x edge - float box_width; // 7 - extent y edge - float box_height; // 8 - extent z edge - float box_yaw; // 9 - extent rotation by about z axis + float box_length; // 6 - extent x edge (was box_x) + float box_width; // 7 - extent y edge (was box_y) + float box_height; // 8 - extent z edge (was box_z) + float box_yaw; // 9 - extent rotation by about z axis (was box_orientation) }; /** @@ -148,10 +148,10 @@ struct CharStartOutfitEntry */ struct ChatChannelsEntry { - uint32 ID; // 0 ID - ID of the Channel in DBC. + uint32 ID; // 0 ID - ID of the Channel in DBC. (was ChannelID) uint32 Flags; // 1 Flags - Flags indicating the type of channel (trading, guid recruitment, ...). // int32 FactionGroup; // 2 FactionGroup (int) - server-unused - char const* Name_lang[8]; // 3-10 Name_lang - Channel Name (using locales). + char const* Name_lang[8]; // 3-10 Name_lang - Channel Name (using locales). (was pattern) // uint32 Name_lang_flags; // 11 Name_lang_flags (uint) - server-unused // char* Shortcut_lang; // 12 Shortcut_lang (string) - server-unused // char* Shortcut_lang_loc2; // 13 Shortcut_lang_loc2 (string) - server-unused @@ -170,15 +170,15 @@ struct ChatChannelsEntry */ struct ChrClassesEntry { - uint32 ID; // 0 ID - ID of the Char Class in DBC. + uint32 ID; // 0 ID - ID of the Char Class in DBC. (was ClassID) // uint32 Unknown1; // 1 Unknown1 (uint) - server-unused // uint32 DamageBonusStat; // 2 DamageBonusStat (uint) - server-unused - uint32 DisplayPower; // 3 DisplayPower - Power Type, (1 = Rage, 3 = Energy, 0 = Mana). + uint32 DisplayPower; // 3 DisplayPower - Power Type, (1 = Rage, 3 = Energy, 0 = Mana). (was powerType) // char* PetNameToken; // 4 PetNameToken (string) - server-unused - char const* Name_lang[8]; // 5-12 Name_lang - Class Name (using locales). + char const* Name_lang[8]; // 5-12 Name_lang - Class Name (using locales). (was name) // uint32 Name_lang_flags; // 13 Name_lang_flags (uint) - server-unused // char* Filename; // 14 Filename (string) - server-unused - uint32 SpellClassSet; // 15 SpellClassSet - Spell Class ID (3 = Mage, 4 = Warrior, 5 = Warlock, ...) + uint32 SpellClassSet; // 15 SpellClassSet - Spell Class ID (3 = Mage, 4 = Warrior, 5 = Warlock, ...) (was spellfamily) // uint32 Flags; // 16 Flags (uint) - server-unused }; @@ -188,24 +188,24 @@ struct ChrClassesEntry */ struct ChrRacesEntry { - uint32 ID; // 0 m_ID - ID of the Char Race in DBC. + uint32 ID; // 0 m_ID - ID of the Char Race in DBC. (was RaceID) // uint32 Flags; // 1 Flags (uint) - server-unused uint32 FactionID; // 2 m_factionID - ID of the faction in DBC. (See Faction.dbc) // uint32 ExplorationSoundID; // 3 ExplorationSoundID (uint) - server-unused - uint32 MaleDisplayID; // 4 m_MaleDisplayId - ID of the Male Display. - uint32 FemaleDisplayID; // 5 m_FemaleDisplayId - ID of the Female Display. + uint32 MaleDisplayID; // 4 m_MaleDisplayId - ID of the Male Display. (was model_m) + uint32 FemaleDisplayID; // 5 m_FemaleDisplayId - ID of the Female Display. (was model_f) // char* ClientPrefix; // 6 ClientPrefix (string) - server-unused // float MountScale; // 7 MountScale (float) - server-unused - uint32 BaseLanguage; // 8 m_BaseLanguage - ID of the Major Playable Faction (7-Alliance 1-Horde). + uint32 BaseLanguage; // 8 m_BaseLanguage - ID of the Major Playable Faction (7-Alliance 1-Horde). (was TeamID) // uint32 CreatureType; // 9 CreatureType (uint) - server-unused // uint32 LoginEffectSpellID; // 10 LoginEffectSpellID (uint) - server-unused // uint32 CombatStunSpellID; // 11 CombatStunSpellID (uint) - server-unused // uint32 ResSicknessSpellID; // 12 ResSicknessSpellID (uint) - server-unused // uint32 SplashSoundID; // 13 SplashSoundID (uint) - server-unused - uint32 StartingTaxiNodes; // 14 Starting Taxi Max for the given Race (already discovered Taxi Nodes). + uint32 StartingTaxiNodes; // 14 Starting Taxi Max for the given Race (already discovered Taxi Nodes). (was startingTaxiMask) // char* ClientFileString; // 15 ClientFileString (string) - server-unused uint32 CinematicSequence; // 16 m_cinematicSequenceID - Cinematic Sequence ID. - char* Name_lang[8]; // 17-24 m_name_lang used for DBC language detection/selection + char* Name_lang[8]; // 17-24 m_name_lang used for DBC language detection/selection (was name) // uint32 Name_lang_flags; // 25 Name_lang_flags (uint) - server-unused // char* FacialHairCustomization_0; // 26 FacialHairCustomization_0 (string) - server-unused // char* FacialHairCustomization_1; // 27 FacialHairCustomization_1 (string) - server-unused @@ -235,11 +235,11 @@ struct CinematicSequencesEntry */ struct CreatureDisplayInfoEntry { - uint32 ID; // 0 ID - ID in DBC. + uint32 ID; // 0 ID - ID in DBC. (was Displayid) // uint32 ModelID; // 1 ModelID (uint) - server-unused // uint32 SoundID; // 2 SoundID (uint) - server-unused uint32 ExtendedDisplayInfoID; // 3 m_extendedDisplayInfoID - Extended info (see CreatureDisplayInfoExtraEntry). - float CreatureModelScale; // 4 CreatureModelScale - Scale of the Creature. + float CreatureModelScale; // 4 CreatureModelScale - Scale of the Creature. (was scale) // int32 CreatureModelAlpha; // 5 CreatureModelAlpha (int) - server-unused // char* TextureVariation_0; // 6 TextureVariation_0 (string) - server-unused // char* TextureVariation_1; // 7 TextureVariation_1 (string) - server-unused @@ -289,7 +289,7 @@ struct CreatureFamilyEntry uint32 MaxScaleLevel; // 4 0/60 - Maximum level for which the MaxScale is applicable. uint32 SkillLine[2]; // 5-6 - Skill Lines (See SkillLine.dbc). uint32 PetFoodMask; // 7 - Food Mask for the given pet. - char* Name_lang[8]; // 8-15 - m_name_lang. + char* Name_lang[8]; // 8-15 - m_name_lang. (was Name) // uint32 Name_lang_flags; // 16 Name_lang_flags (uint) - server-unused // char* IconFile; // 17 IconFile (string) - server-unused }; @@ -335,8 +335,8 @@ struct CreatureTypeEntry */ struct DurabilityCostsEntry { - uint32 ID; // 0 ID - ID in DBC. - uint32 WeaponSubClassCost[29]; // 1-29 WeaponSubClassCost - WeaponSubClassCost_0-20 (idx 1-21), ArmorSubClassCost_0-7 (idx 22-29). + uint32 ID; // 0 ID - ID in DBC. (was Itemlvl) + uint32 WeaponSubClassCost[29]; // 1-29 WeaponSubClassCost - WeaponSubClassCost_0-20 (idx 1-21), ArmorSubClassCost_0-7 (idx 22-29). (was multiplier) }; /** @@ -372,7 +372,7 @@ struct EmotesTextEntry { uint32 ID; // 0 ID - ID in DBC. // char* Name; // 1 Name (string) - server-unused - uint32 EmoteID; // 2 EmoteID - ID of the text. + uint32 EmoteID; // 2 EmoteID - ID of the text. (was textid) // uint32 EmoteText1; // 3 EmoteText1 (uint) - server-unused // uint32 EmoteText2; // 4 EmoteText2 (uint) - server-unused // uint32 EmoteText3; // 5 EmoteText3 (uint) - server-unused @@ -398,13 +398,13 @@ struct EmotesTextEntry struct FactionEntry { uint32 ID; // 0 m_ID - ID in DBC. - int32 ReputationIndex; // 1 m_reputationIndex - ID of the Reputation List. - uint32 ReputationRaceMask[4]; // 2-5 m_reputationRaceMask - - uint32 ReputationClassMask[4]; // 6-9 m_reputationClassMask - int32 ReputationBase[4]; // 10-13 m_reputationBase + int32 ReputationIndex; // 1 m_reputationIndex - ID of the Reputation List. (was reputationListID) + uint32 ReputationRaceMask[4]; // 2-5 m_reputationRaceMask - (was BaseRepRaceMask) + uint32 ReputationClassMask[4]; // 6-9 m_reputationClassMask (was BaseRepClassMask) + int32 ReputationBase[4]; // 10-13 m_reputationBase (was BaseRepValue) uint32 ReputationFlags[4]; // 14-17 m_reputationFlags - uint32 ParentFactionID; // 18 m_parentFactionID - char* Name_lang[8]; // 19-26 m_name_lang + uint32 ParentFactionID; // 18 m_parentFactionID (was team) + char* Name_lang[8]; // 19-26 m_name_lang (was name) // uint32 Name_lang_flags; // 27 Name_lang_flags (uint) - server-unused // char* Description_lang[8]; // 28-35 Description_lang (string) - server-unused // uint32 Description_lang_flags; // 36 Description_lang_flags (uint) - server-unused @@ -437,17 +437,17 @@ struct FactionTemplateEntry /// 1 uint32 Faction; /// 2 specific flags for that faction - uint32 Flags; + uint32 Flags; // (was factionFlags) /// 3 if mask set (see FactionMasks) then faction included in masked team - uint32 FactionGroup; + uint32 FactionGroup; // (was ourMask) /// 4 if mask set (see FactionMasks) then faction friendly to masked team - uint32 FriendGroup; + uint32 FriendGroup; // (was friendlyMask) /// 5 if mask set (see FactionMasks) then faction hostile to masked team - uint32 EnemyGroup; + uint32 EnemyGroup; // (was hostileMask) /// 6-9 - uint32 Enemies[4]; + uint32 Enemies[4]; // (was enemyFaction) /// 10-13 - uint32 Friend[4]; + uint32 Friend[4]; // (was friendFaction) //------------------------------------------------------- end structure // helpers @@ -519,8 +519,8 @@ struct FactionTemplateEntry */ struct GameObjectDisplayInfoEntry { - uint32 ID; // 0 ID - ID in DBC. - char* ModelName; // 1 ModelName - File name for the object. + uint32 ID; // 0 ID - ID in DBC. (was Displayid) + char* ModelName; // 1 ModelName - File name for the object. (was filename) // uint32 Sound_0; // 2 Sound_0 (uint) - server-unused // uint32 Sound_1; // 3 Sound_1 (uint) - server-unused // uint32 Sound_2; // 4 Sound_2 (uint) - server-unused @@ -563,7 +563,7 @@ struct ItemClassEntry uint32 ID; // 0 m_ID // uint32 Unk1; // 1 Unk1 (uint) - server-unused // uint32 Flags; // 2 Flags (uint) - server-unused (only weapon has 1 in field, others 0) - char* ClassName_lang[8]; // 3-10 ClassName_lang + char* ClassName_lang[8]; // 3-10 ClassName_lang (was name) // uint32 ClassName_lang_flags; // 11 ClassName_lang_flags (uint) - server-unused }; @@ -575,7 +575,7 @@ struct ItemRandomPropertiesEntry { uint32 ID; // 0 m_ID // char* Name; // 1 Name (string) - server-unused - uint32 Enchantment[3]; // 2-4 Enchantment + uint32 Enchantment[3]; // 2-4 Enchantment (was enchant_id) // uint32 Enchantment_3; // 5 Enchantment_3 (uint) - server-unused // uint32 Enchantment_4; // 6 Enchantment_4 (uint) - server-unused // char* Name_lang; // 7 Name_lang (string) - server-unused @@ -596,13 +596,13 @@ struct ItemRandomPropertiesEntry struct ItemSetEntry { // uint32 id // 0 m_ID - char* Name_lang[8]; // 1-8 m_name_lang + char* Name_lang[8]; // 1-8 m_name_lang (was name) // uint32 Name_lang_flags; // 9 Name_lang_flags (uint) - server-unused // uint32 ItemID[17]; // 10-26 ItemID (uint) - server-unused - uint32 SetSpellID[8]; // 27-34 m_setSpellID - uint32 SetThreshold[8]; // 35-42 m_setThreshold - uint32 RequiredSkill; // 43 m_requiredSkill - uint32 RequiredSkillRank; // 44 m_requiredSkillRank + uint32 SetSpellID[8]; // 27-34 m_setSpellID (was spells) + uint32 SetThreshold[8]; // 35-42 m_setThreshold (was items_to_triggerspell) + uint32 RequiredSkill; // 43 m_requiredSkill (was required_skill_id) + uint32 RequiredSkillRank; // 44 m_requiredSkillRank (was required_skill_value) }; /** @@ -665,9 +665,9 @@ struct MapEntry { uint32 MapID; // 0 m_ID // char* Directory; // 1 Directory (string) - server-unused - uint32 InstanceType; // 2 InstanceType + uint32 InstanceType; // 2 InstanceType (was map_type) // uint32 PVP; // 3 PVP (uint) - server-unused - char* MapName_lang[8]; // 4-11 MapName_lang + char* MapName_lang[8]; // 4-11 MapName_lang (was name) // uint32 MapName_lang_flags; // 12 MapName_lang_flags (uint) - server-unused // int32 MinLevel; // 13 MinLevel (int) - server-unused // int32 MaxLevel; // 14 MaxLevel (int) - server-unused @@ -675,7 +675,7 @@ struct MapEntry // int32 Unk0; // 16 Unk0 (int) - server-unused // float Unk1; // 17 Unk1 (float) - server-unused // float Unk2; // 18 Unk2 (float) - server-unused - uint32 AreaTableID; // 19 AreaTableID + uint32 AreaTableID; // 19 AreaTableID (was linked_zone) // char* MapDescription0_lang; // 20 MapDescription0_lang (string) - server-unused // char* MapDescription0_lang_loc2; // 21 MapDescription0_lang_loc2 (string) - server-unused // char* MapDescription0_lang_loc3; // 22 MapDescription0_lang_loc3 (string) - server-unused @@ -694,7 +694,7 @@ struct MapEntry // char* MapDescription1_lang_loc7; // 35 MapDescription1_lang_loc7 (string) - server-unused // char* MapDescription1_lang_loc8; // 36 MapDescription1_lang_loc8 (string) - server-unused // uint32 MapDescription1_lang_flags; // 37 MapDescription1_lang_flags (uint) - server-unused - uint32 LoadingScreenID; // 38 LoadingScreenID (LoadingScreens.dbc) + uint32 LoadingScreenID; // 38 LoadingScreenID (LoadingScreens.dbc) (was multimap_id) // int32 RaidOffset; // 39 RaidOffset (int) - server-unused // int32 Continentname; // 40 Continentname (int) - server-unused // float BattlefieldMapIconScale; // 41 BattlefieldMapIconScale (float) - server-unused @@ -755,7 +755,7 @@ struct SkillRaceClassInfoEntry uint32 RaceMask; // 2 m_raceMask uint32 ClassMask; // 3 m_classMask uint32 Flags; // 4 m_flags - uint32 MinLevel; // 5 m_minLevel + uint32 MinLevel; // 5 m_minLevel (was reqLevel) // uint32 SkillTierID; // 6 SkillTierID (uint) - server-unused // uint32 SkillCostIndex; // 7 SkillCostIndex (uint) - server-unused }; @@ -769,7 +769,7 @@ struct SkillLineEntry uint32 ID; // 0 ID int32 CategoryID; // 1 CategoryID // uint32 SkillCostsID; // 2 SkillCostsID (uint) - server-unused - char* DisplayName_lang[8]; // 3-10 DisplayName_lang + char* DisplayName_lang[8]; // 3-10 DisplayName_lang (was name) // uint32 DisplayName_lang_flags; // 11 DisplayName_lang_flags (uint) - server-unused // char* Description_lang; // 12 Description_lang (string) - server-unused // char* Description_lang_loc2; // 13 Description_lang_loc2 (string) - server-unused @@ -790,17 +790,17 @@ struct SkillLineEntry struct SkillLineAbilityEntry { uint32 ID; // 0, INDEX - uint32 SkillLine; // 1 - uint32 Spell; // 2 + uint32 SkillLine; // 1 (was skillId) + uint32 Spell; // 2 (was spellId) uint32 RaceMask; // 3 uint32 ClassMask; // 4 // uint32 ExcludeRace; // 5 ExcludeRace (uint) - always 0 in 2.4.2 // uint32 ExcludeClass; // 6 ExcludeClass (uint) - always 0 in 2.4.2 - uint32 MinSkillLineRank; // 7 for trade skill.not for training. - uint32 SupercededBySpell; // 8 - uint32 AcquireMethod; // 9 can be 1 or 2 for spells learned on get skill - uint32 TrivialSkillLineRankHigh; // 10 - uint32 TrivialSkillLineRankLow; // 11 + uint32 MinSkillLineRank; // 7 for trade skill.not for training. (was req_skill_value) + uint32 SupercededBySpell; // 8 (was forward_spellid) + uint32 AcquireMethod; // 9 can be 1 or 2 for spells learned on get skill (was learnOnGetSkill) + uint32 TrivialSkillLineRankHigh; // 10 (was max_value) + uint32 TrivialSkillLineRankLow; // 11 (was min_value) // uint32 Abandonable; // 12 Abandonable (uint) - always 0 // uint32 CharacterPoints_0; // 13 CharacterPoints_0 (uint) - always 0 uint32 ReqTrainPoints; // 14 @@ -935,15 +935,15 @@ struct SpellEntry uint32 School; // 1 not schoolMask from 2.x - just school type so everything linked with SpellEntry::SchoolMask must be rewrited uint32 Category; // 2 // uint32 CastUI; // 3 not used - uint32 DispelType; // 4 + uint32 DispelType; // 4 (was Dispel) uint32 Mechanic; // 5 uint32 Attributes; // 6 uint32 AttributesEx; // 7 - uint32 AttributesExB; // 8 - uint32 AttributesExC; // 9 - uint32 AttributesExD; // 10 - uint32 ShapeshiftMask; // 11 - uint32 ShapeshiftExclude; // 12 + uint32 AttributesExB; // 8 (was AttributesEx2) + uint32 AttributesExC; // 9 (was AttributesEx3) + uint32 AttributesExD; // 10 (was AttributesEx4) + uint32 ShapeshiftMask; // 11 (was Stances) + uint32 ShapeshiftExclude; // 12 (was StancesNot) uint32 Targets; // 13 uint32 TargetCreatureType; // 14 uint32 RequiresSpellFocus; // 15 @@ -970,13 +970,13 @@ struct SpellEntry uint32 RangeIndex; // 36 float Speed; // 37 uint32 ModalNextSpell; // 38 not used - uint32 CumulativeAura; // 39 + uint32 CumulativeAura; // 39 (was StackAmount) uint32 Totem[MAX_SPELL_TOTEMS]; // 40-41 int32 Reagent[MAX_SPELL_REAGENTS]; // 42-49 uint32 ReagentCount[MAX_SPELL_REAGENTS]; // 50-57 int32 EquippedItemClass; // 58 (value) - int32 EquippedItemSubclass; // 59 (mask) - int32 EquippedItemInvTypes; // 60 (mask) + int32 EquippedItemSubclass; // 59 (mask) (was EquippedItemSubClassMask) + int32 EquippedItemInvTypes; // 60 (mask) (was EquippedItemInventoryTypeMask) uint32 Effect[MAX_EFFECT_INDEX]; ///< 61-63 TODO DOCUMENT int32 EffectDieSides[MAX_EFFECT_INDEX]; // 64-66 uint32 EffectBaseDice[MAX_EFFECT_INDEX]; // 67-69 @@ -984,41 +984,41 @@ struct SpellEntry float EffectRealPointsPerLevel[MAX_EFFECT_INDEX]; // 73-75 int32 EffectBasePoints[MAX_EFFECT_INDEX]; // 76-78 (don't must be used in spell/auras explicitly, must be used cached Spell::m_currentBasePoints) uint32 EffectMechanic[MAX_EFFECT_INDEX]; // 79-81 - uint32 ImplicitTargetA[MAX_EFFECT_INDEX]; // 82-84 - uint32 ImplicitTargetB[MAX_EFFECT_INDEX]; // 85-87 + uint32 ImplicitTargetA[MAX_EFFECT_INDEX]; // 82-84 (was EffectImplicitTargetA) + uint32 ImplicitTargetB[MAX_EFFECT_INDEX]; // 85-87 (was EffectImplicitTargetB) uint32 EffectRadiusIndex[MAX_EFFECT_INDEX]; // 88-90 - spellradius.dbc - uint32 EffectAura[MAX_EFFECT_INDEX]; // 91-93 - uint32 EffectAuraPeriod[MAX_EFFECT_INDEX]; // 94-96 - float EffectAmplitude[MAX_EFFECT_INDEX]; // 97-99 - uint32 EffectChainTargets[MAX_EFFECT_INDEX]; // 100-102 + uint32 EffectAura[MAX_EFFECT_INDEX]; // 91-93 (was EffectApplyAuraName) + uint32 EffectAuraPeriod[MAX_EFFECT_INDEX]; // 94-96 (was EffectAmplitude) + float EffectAmplitude[MAX_EFFECT_INDEX]; // 97-99 (was EffectMultipleValue) + uint32 EffectChainTargets[MAX_EFFECT_INDEX]; // 100-102 (was EffectChainTarget) uint32 EffectItemType[MAX_EFFECT_INDEX]; // 103-105 int32 EffectMiscValue[MAX_EFFECT_INDEX]; // 106-108 uint32 EffectTriggerSpell[MAX_EFFECT_INDEX]; // 109-111 - float EffectPointsPerCombo[MAX_EFFECT_INDEX]; // 112-114 - uint32 SpellVisualID; // 115 + float EffectPointsPerCombo[MAX_EFFECT_INDEX]; // 112-114 (was EffectPointsPerComboPoint) + uint32 SpellVisualID; // 115 (was SpellVisual) // uint32 SpellVisualID_1 // 116 not used uint32 SpellIconID; // 117 uint32 ActiveIconID; // 118 // uint32 SpellPriority; // 119 - char* Name_lang[8]; // 120-127 + char* Name_lang[8]; // 120-127 (was SpellName) // uint32 Name_lang_flags; // 128 - char* NameSubtext_lang[8]; // 129-136 + char* NameSubtext_lang[8]; // 129-136 (was Rank) // uint32 NameSubtext_lang_flags; // 137 // char* Description_lang[8]; // 138-145 not used // uint32 Description_lang_flags; // 146 not used // char* AuraDescription_lang[8]; // 147-154 not used // uint32 AuraDescription_lang_flags; // 155 not used - uint32 ManaCostPct; // 156 + uint32 ManaCostPct; // 156 (was ManaCostPercentage) uint32 StartRecoveryCategory; // 157 uint32 StartRecoveryTime; // 158 uint32 MaxTargetLevel; // 159 - uint32 SpellClassSet; // 160 - ClassFamilyMask SpellClassMask; // 161+162 - uint32 MaxTargets; // 163 - uint32 DefenseType; // 164 defenseType + uint32 SpellClassSet; // 160 (was SpellFamilyName) + ClassFamilyMask SpellClassMask; // 161+162 (was SpellFamilyFlags) + uint32 MaxTargets; // 163 (was MaxAffectedTargets) + uint32 DefenseType; // 164 defenseType (was DmgClass) uint32 PreventionType; // 165 // uint32 StanceBarOrder; // 166 not used - float EffectChainAmplitude[MAX_EFFECT_INDEX]; // 167-169 + float EffectChainAmplitude[MAX_EFFECT_INDEX]; // 167-169 (was DmgMultiplier) // uint32 MinFactionID; // 170 not used, and 0 in 2.4.2 // uint32 MinReputation; // 171 not used, and 0 in 2.4.2 // uint32 RequiredAuraVision; // 172 not used @@ -1131,7 +1131,7 @@ struct SpellEntry struct SpellCastTimesEntry { uint32 ID; // 0 m_ID - int32 Base; // 1 Base + int32 Base; // 1 Base (was CastTime) // int32 PerLevel; // 2 PerLevel (int) - server-unused // int32 Minimum; // 3 Minimum (int) - server-unused }; @@ -1155,8 +1155,8 @@ struct SpellRadiusEntry struct SpellRangeEntry { uint32 ID; // 0 m_ID - float RangeMin; // 1 RangeMin - float RangeMax; // 2 RangeMax + float RangeMin; // 1 RangeMin (was minRange) + float RangeMax; // 2 RangeMax (was maxRange) // uint32 Flags; // 3 Flags (uint) - server-unused // char* DisplayName_lang; // 4 DisplayName_lang (string) - server-unused // char* DisplayName_lang_loc2; // 5 DisplayName_lang_loc2 (string) - server-unused @@ -1195,7 +1195,7 @@ struct SpellShapeshiftFormEntry // char* Name_lang_loc7; // 8 Name_lang_loc7 (string) - server-unused // char* Name_lang_loc8; // 9 Name_lang_loc8 (string) - server-unused // uint32 Name_lang_flags; // 10 Name_lang_flags (uint) - server-unused - uint32 Flags; // 11 Flags + uint32 Flags; // 11 Flags (was flags1) int32 CreatureType; // 12 CreatureType <=0 humanoid, other normal creature types // uint32 AttackIconID; // 13 AttackIconID (uint) - server-unused }; @@ -1235,14 +1235,14 @@ struct SpellFocusObjectEntry struct SpellItemEnchantmentEntry { uint32 ID; // 0 m_ID - uint32 Effect[3]; // 1-3 m_effect[3] - uint32 EffectPointsMin[3]; // 4-6 m_effectPointsMin[3] + uint32 Effect[3]; // 1-3 m_effect[3] (was type) + uint32 EffectPointsMin[3]; // 4-6 m_effectPointsMin[3] (was amount) // uint32 EffectPointsMax[3]; // 7-9 EffectPointsMax (uint) - server-unused - uint32 EffectArg[3]; // 10-12 m_effectArg[3] - char* Name_lang[8]; // 13-20 m_name_lang[8] + uint32 EffectArg[3]; // 10-12 m_effectArg[3] (was spellid) + char* Name_lang[8]; // 13-20 m_name_lang[8] (was description) // uint32 Name_lang_flags; // 21 Name_lang_flags (uint) - server-unused - uint32 ItemVisual; // 22 m_itemVisual - uint32 Flags; // 23 m_flags + uint32 ItemVisual; // 22 m_itemVisual (was aura_id) + uint32 Flags; // 23 m_flags (was slot) }; /** @@ -1279,7 +1279,7 @@ struct TalentEntry // uint32 DependsOnRank_1; // 17 DependsOnRank_1 (uint) - server-unused // uint32 DependsOnRank_2; // 18 DependsOnRank_2 (uint) - server-unused // uint32 Flags; // 19 Flags (uint) - server-unused (also needed to disable highest ranks on reset talent tree) - uint32 RequiredSpellID; // 20 RequiredSpellID req.spell + uint32 RequiredSpellID; // 20 RequiredSpellID req.spell (was DependsOnSpell) }; /** @@ -1288,7 +1288,7 @@ struct TalentEntry */ struct TalentTabEntry { - uint32 ID; // 0 ID + uint32 ID; // 0 ID (was TalentTabID) // char* Name_lang; // 1 Name_lang (string) - server-unused // char* Name_lang_loc2; // 2 Name_lang_loc2 (string) - server-unused // char* Name_lang_loc3; // 3 Name_lang_loc3 (string) - server-unused @@ -1301,7 +1301,7 @@ struct TalentTabEntry // uint32 SpellIconID; // 10 SpellIconID (uint) - server-unused // uint32 RaceMask; // 11 RaceMask (uint) - server-unused uint32 ClassMask; // 12 m_classMask - uint32 OrderIndex; // 13 OrderIndex + uint32 OrderIndex; // 13 OrderIndex (was tabpage) // char* BackgroundFile; // 14 BackgroundFile (string) - server-unused }; @@ -1321,7 +1321,7 @@ struct TaxiNodesEntry float x; // 2 m_x - X position of the Taxi Node. float y; // 3 m_y - Y position of the Taxi Node. float z; // 4 m_z - Z position of the Taxi Node. - char* Name_lang[8]; // 5-12 Name_lang - Name of the Taxi Node (relies on locale). + char* Name_lang[8]; // 5-12 Name_lang - Name of the Taxi Node (relies on locale). (was name) // uint32 Name_lang_flags; // 13 Name_lang_flags (uint) - server-unused uint32 MountCreatureID[2]; // 14-15 m_MountCreatureID[2] - Creature ID (indicates as well the Taxi Node type : horde[14]-alliance[15]) }; @@ -1347,13 +1347,13 @@ struct TaxiPathEntry struct TaxiPathNodeEntry { // 0 m_ID - ID in the DBC. - uint32 PathID; // 1 m_PathID - ID of the path in the DBC. - uint32 NodeIndex; // 2 m_NodeIndex - Index of the Node in the path. - uint32 ContinentID; // 3 m_ContinentID - ID of the Continent in DBC (0 = Azeroth, 1 = Kalimdor, 30 = Alterac Valley) - float LocX; // 4 m_LocX - X position of the Node. - float LocY; // 5 m_LocY - Y position of the Node. - float LocZ; // 6 m_LocZ - Z position of the Node. - uint32 Flags; // 7 m_flags - Unknown usage. + uint32 PathID; // 1 m_PathID - ID of the path in the DBC. (was path) + uint32 NodeIndex; // 2 m_NodeIndex - Index of the Node in the path. (was index) + uint32 ContinentID; // 3 m_ContinentID - ID of the Continent in DBC (0 = Azeroth, 1 = Kalimdor, 30 = Alterac Valley) (was mapid) + float LocX; // 4 m_LocX - X position of the Node. (was x) + float LocY; // 5 m_LocY - Y position of the Node. (was y) + float LocZ; // 6 m_LocZ - Z position of the Node. (was z) + uint32 Flags; // 7 m_flags - Unknown usage. (was actionFlag) uint32 Delay; // 8 m_delay - Unknown usage. }; @@ -1364,16 +1364,16 @@ struct TaxiPathNodeEntry struct WMOAreaTableEntry { uint32 ID; // 0 m_ID index - int32 WMOID; // 1 m_WMOID used in root WMO - int32 NameSetID; // 2 m_NameSetID used in adt file - int32 WMOGroupID; // 3 m_WMOGroupID used in group WMO + int32 WMOID; // 1 m_WMOID used in root WMO (was rootId) + int32 NameSetID; // 2 m_NameSetID used in adt file (was adtId) + int32 WMOGroupID; // 3 m_WMOGroupID used in group WMO (was groupId) // int32 SoundProviderPref; // 4 SoundProviderPref (int) - server-unused // int32 SoundProviderPrefUnderwater; // 5 SoundProviderPrefUnderwater (int) - server-unused // int32 AmbienceID; // 6 AmbienceID (int) - server-unused // int32 ZoneMusic; // 7 ZoneMusic (int) - server-unused // int32 IntroSound; // 8 IntroSound (int) - server-unused uint32 Flags; // 9 m_flags (used for indoor/outdoor determination) - uint32 AreaTableID; // 10 m_AreaTableID (AreaTable.dbc) + uint32 AreaTableID; // 10 m_AreaTableID (AreaTable.dbc) (was areaId) // char* AreaName_lang[8]; // 11-18 AreaName_lang (string) - server-unused // uint32 AreaName_lang_flags; // 19 AreaName_lang_flags (uint) - server-unused }; @@ -1388,10 +1388,10 @@ struct WorldMapAreaEntry uint32 MapID; // 1 m_mapID uint32 AreaID; // 2 m_areaID index (continent 0 areas ignored) // char* AreaName; // 3 AreaName (string) - server-unused - float LocLeft; // 4 m_locLeft - float LocRight; // 5 m_locRight - float LocTop; // 6 m_locTop - float LocBottom; // 7 m_locBottom + float LocLeft; // 4 m_locLeft (was y1) + float LocRight; // 5 m_locRight (was y2) + float LocTop; // 6 m_locTop (was x1) + float LocBottom; // 7 m_locBottom (was x2) }; /**