Core: Updated to 11.2.5.63704
Port From (https://github.com/TrinityCore/TrinityCore/commit/53068a94e88991ae7196fb247df4b7ca2e47e554)
This commit is contained in:
@@ -198,6 +198,7 @@ namespace Game.DataStorage
|
||||
ItemChildEquipmentStorage = ReadDB2<ItemChildEquipmentRecord>("ItemChildEquipment.db2", HotfixStatements.SEL_ITEM_CHILD_EQUIPMENT);
|
||||
ItemClassStorage = ReadDB2<ItemClassRecord>("ItemClass.db2", HotfixStatements.SEL_ITEM_CLASS, HotfixStatements.SEL_ITEM_CLASS_LOCALE);
|
||||
ItemContextPickerEntryStorage = ReadDB2<ItemContextPickerEntryRecord>("ItemContextPickerEntry.db2", HotfixStatements.SEL_ITEM_CONTEXT_PICKER_ENTRY);
|
||||
ItemCreationContextStorage = ReadDB2<ItemCreationContextRecord>("ItemCreationContext.db2", HotfixStatements.SEL_ITEM_CREATION_CONTEXT);
|
||||
ItemCurrencyCostStorage = ReadDB2<ItemCurrencyCostRecord>("ItemCurrencyCost.db2", HotfixStatements.SEL_ITEM_CURRENCY_COST);
|
||||
ItemDamageAmmoStorage = ReadDB2<ItemDamageRecord>("ItemDamageAmmo.db2", HotfixStatements.SEL_ITEM_DAMAGE_AMMO);
|
||||
ItemDamageOneHandStorage = ReadDB2<ItemDamageRecord>("ItemDamageOneHand.db2", HotfixStatements.SEL_ITEM_DAMAGE_ONE_HAND);
|
||||
@@ -216,7 +217,9 @@ namespace Game.DataStorage
|
||||
ItemModifiedAppearanceStorage = ReadDB2<ItemModifiedAppearanceRecord>("ItemModifiedAppearance.db2", HotfixStatements.SEL_ITEM_MODIFIED_APPEARANCE);
|
||||
ItemModifiedAppearanceExtraStorage = ReadDB2<ItemModifiedAppearanceExtraRecord>("ItemModifiedAppearanceExtra.db2", HotfixStatements.SEL_ITEM_MODIFIED_APPEARANCE_EXTRA);
|
||||
ItemNameDescriptionStorage = ReadDB2<ItemNameDescriptionRecord>("ItemNameDescription.db2", HotfixStatements.SEL_ITEM_NAME_DESCRIPTION, HotfixStatements.SEL_ITEM_NAME_DESCRIPTION_LOCALE);
|
||||
ItemOffsetCurveStorage = ReadDB2<ItemOffsetCurveRecord>("ItemOffsetCurve.db2", HotfixStatements.SEL_ITEM_OFFSET_CURVE);
|
||||
ItemPriceBaseStorage = ReadDB2<ItemPriceBaseRecord>("ItemPriceBase.db2", HotfixStatements.SEL_ITEM_PRICE_BASE);
|
||||
ItemScalingConfigStorage = ReadDB2<ItemScalingConfigRecord>("ItemScalingConfig.db2", HotfixStatements.SEL_ITEM_SCALING_CONFIG);
|
||||
ItemSearchNameStorage = ReadDB2<ItemSearchNameRecord>("ItemSearchName.db2", HotfixStatements.SEL_ITEM_SEARCH_NAME, HotfixStatements.SEL_ITEM_SEARCH_NAME_LOCALE);
|
||||
ItemSetStorage = ReadDB2<ItemSetRecord>("ItemSet.db2", HotfixStatements.SEL_ITEM_SET, HotfixStatements.SEL_ITEM_SET_LOCALE);
|
||||
ItemSetSpellStorage = ReadDB2<ItemSetSpellRecord>("ItemSetSpell.db2", HotfixStatements.SEL_ITEM_SET_SPELL);
|
||||
@@ -376,6 +379,7 @@ namespace Game.DataStorage
|
||||
TraitNodeXTraitCostStorage = ReadDB2<TraitNodeXTraitCostRecord>("TraitNodeXTraitCost.db2", HotfixStatements.SEL_TRAIT_NODE_X_TRAIT_COST);
|
||||
TraitNodeXTraitNodeEntryStorage = ReadDB2<TraitNodeXTraitNodeEntryRecord>("TraitNodeXTraitNodeEntry.db2", HotfixStatements.SEL_TRAIT_NODE_X_TRAIT_NODE_ENTRY);
|
||||
TraitSubTreeStorage = ReadDB2<TraitSubTreeRecord>("TraitSubTree.db2", HotfixStatements.SEL_TRAIT_SUB_TREE, HotfixStatements.SEL_TRAIT_SUB_TREE_LOCALE);
|
||||
TraitSystemStorage = ReadDB2<TraitSystemRecord>("TraitSystem.db2", HotfixStatements.SEL_TRAIT_SYSTEM);
|
||||
TraitTreeStorage = ReadDB2<TraitTreeRecord>("TraitTree.db2", HotfixStatements.SEL_TRAIT_TREE);
|
||||
TraitTreeLoadoutStorage = ReadDB2<TraitTreeLoadoutRecord>("TraitTreeLoadout.db2", HotfixStatements.SEL_TRAIT_TREE_LOADOUT);
|
||||
TraitTreeLoadoutEntryStorage = ReadDB2<TraitTreeLoadoutEntryRecord>("TraitTreeLoadoutEntry.db2", HotfixStatements.SEL_TRAIT_TREE_LOADOUT_ENTRY);
|
||||
@@ -604,6 +608,7 @@ namespace Game.DataStorage
|
||||
public static DB6Storage<ItemBonusTreeRecord> ItemBonusTreeStorage;
|
||||
public static DB6Storage<ItemBonusTreeNodeRecord> ItemBonusTreeNodeStorage;
|
||||
public static DB6Storage<ItemContextPickerEntryRecord> ItemContextPickerEntryStorage;
|
||||
public static DB6Storage<ItemCreationContextRecord> ItemCreationContextStorage;
|
||||
public static DB6Storage<ItemClassRecord> ItemClassStorage;
|
||||
public static DB6Storage<ItemChildEquipmentRecord> ItemChildEquipmentStorage;
|
||||
public static DB6Storage<ItemCurrencyCostRecord> ItemCurrencyCostStorage;
|
||||
@@ -624,7 +629,9 @@ namespace Game.DataStorage
|
||||
public static DB6Storage<ItemModifiedAppearanceRecord> ItemModifiedAppearanceStorage;
|
||||
public static DB6Storage<ItemModifiedAppearanceExtraRecord> ItemModifiedAppearanceExtraStorage;
|
||||
public static DB6Storage<ItemNameDescriptionRecord> ItemNameDescriptionStorage;
|
||||
public static DB6Storage<ItemOffsetCurveRecord> ItemOffsetCurveStorage;
|
||||
public static DB6Storage<ItemPriceBaseRecord> ItemPriceBaseStorage;
|
||||
public static DB6Storage<ItemScalingConfigRecord> ItemScalingConfigStorage;
|
||||
public static DB6Storage<ItemSearchNameRecord> ItemSearchNameStorage;
|
||||
public static DB6Storage<ItemSetRecord> ItemSetStorage;
|
||||
public static DB6Storage<ItemSetSpellRecord> ItemSetSpellStorage;
|
||||
@@ -784,6 +791,7 @@ namespace Game.DataStorage
|
||||
public static DB6Storage<TraitNodeXTraitCostRecord> TraitNodeXTraitCostStorage;
|
||||
public static DB6Storage<TraitNodeXTraitNodeEntryRecord> TraitNodeXTraitNodeEntryStorage;
|
||||
public static DB6Storage<TraitSubTreeRecord> TraitSubTreeStorage;
|
||||
public static DB6Storage<TraitSystemRecord> TraitSystemStorage;
|
||||
public static DB6Storage<TraitTreeRecord> TraitTreeStorage;
|
||||
public static DB6Storage<TraitTreeLoadoutRecord> TraitTreeLoadoutStorage;
|
||||
public static DB6Storage<TraitTreeLoadoutEntryRecord> TraitTreeLoadoutEntryStorage;
|
||||
|
||||
@@ -123,7 +123,7 @@ namespace Game.DataStorage
|
||||
public byte FactionGroupMask;
|
||||
public float AmbientMultiplier;
|
||||
public int MountFlags;
|
||||
public short PvpCombatWorldStateID;
|
||||
public int PvpCombatWorldStateID;
|
||||
public byte WildBattlePetLevelMin;
|
||||
public byte WildBattlePetLevelMax;
|
||||
public byte WindSettingsID;
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace Game.DataStorage
|
||||
public int LanguageID;
|
||||
public int ConditionID;
|
||||
public ushort EmotesID;
|
||||
public ushort Flags;
|
||||
public int Flags;
|
||||
public uint ChatBubbleDurationMs;
|
||||
public int VoiceOverPriorityID;
|
||||
public uint[] SoundKitID = new uint[2];
|
||||
|
||||
@@ -334,13 +334,13 @@ namespace Game.DataStorage
|
||||
public byte OrderIndex;
|
||||
public sbyte PetTalentType;
|
||||
public sbyte Role;
|
||||
public uint Flags;
|
||||
public int Flags;
|
||||
public int SpellIconFileID;
|
||||
public sbyte PrimaryStatPriority;
|
||||
public int AnimReplacements;
|
||||
public uint[] MasterySpellID = new uint[PlayerConst.MaxMasterySpells];
|
||||
|
||||
public bool HasFlag(ChrSpecializationFlag chrSpecializationFlag) { return (Flags & (uint)chrSpecializationFlag) != 0; }
|
||||
public bool HasFlag(ChrSpecializationFlag chrSpecializationFlag) { return (Flags & (int)chrSpecializationFlag) != 0; }
|
||||
public ChrSpecializationRole GetRole() { return (ChrSpecializationRole)Role; }
|
||||
|
||||
public bool IsPetSpecialization()
|
||||
@@ -394,6 +394,8 @@ namespace Game.DataStorage
|
||||
public int DamageItemLevelCurveID;
|
||||
public int HealthPrimaryStatCurveID;
|
||||
public int DamagePrimaryStatCurveID;
|
||||
public int PrimaryStatScalingModPlayerDataElementCharacterID;
|
||||
public float PrimaryStatScalingModPlayerDataElementCharacterMultiplier;
|
||||
public int MinLevel;
|
||||
public int MaxLevel;
|
||||
public int MinLevelType;
|
||||
@@ -698,7 +700,7 @@ namespace Game.DataStorage
|
||||
{
|
||||
public uint Id;
|
||||
public byte Type;
|
||||
public byte Flags;
|
||||
public int Flags;
|
||||
}
|
||||
|
||||
public sealed class CurvePointRecord
|
||||
@@ -707,6 +709,6 @@ namespace Game.DataStorage
|
||||
public Vector2 PreSLSquishPos;
|
||||
public uint Id;
|
||||
public uint CurveID;
|
||||
public byte OrderIndex;
|
||||
public uint OrderIndex;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Game.DataStorage
|
||||
public byte SheatheType;
|
||||
public sbyte SoundOverrideSubclassID;
|
||||
public int IconFileDataID;
|
||||
public byte ItemGroupSoundsID;
|
||||
public uint ItemGroupSoundsID;
|
||||
public int ContentTuningID;
|
||||
public int ModifiedCraftingReagentItemID;
|
||||
public int CraftingQualityID;
|
||||
@@ -141,6 +141,8 @@ namespace Game.DataStorage
|
||||
public uint IblGroupPointsModSetID;
|
||||
public int MinMythicPlusLevel;
|
||||
public int MaxMythicPlusLevel;
|
||||
public int ItemCreationContextGroupID;
|
||||
public int Flags;
|
||||
public uint ParentItemBonusTreeID;
|
||||
}
|
||||
|
||||
@@ -173,6 +175,13 @@ namespace Game.DataStorage
|
||||
public uint ItemContextPickerID;
|
||||
}
|
||||
|
||||
public sealed class ItemCreationContextRecord
|
||||
{
|
||||
public uint Id;
|
||||
public byte ItemContext;
|
||||
public uint ItemCreationContextGroupID;
|
||||
}
|
||||
|
||||
public sealed class ItemCurrencyCostRecord
|
||||
{
|
||||
public uint Id;
|
||||
@@ -306,6 +315,13 @@ namespace Game.DataStorage
|
||||
public int Color;
|
||||
}
|
||||
|
||||
public sealed class ItemOffsetCurveRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int CurveID;
|
||||
public int Offset;
|
||||
}
|
||||
|
||||
public sealed class ItemPriceBaseRecord
|
||||
{
|
||||
public uint Id;
|
||||
@@ -314,6 +330,15 @@ namespace Game.DataStorage
|
||||
public float Weapon;
|
||||
}
|
||||
|
||||
public sealed class ItemScalingConfigRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int ItemOffsetCurveID;
|
||||
public int ItemLevel;
|
||||
public int RequiredLevel;
|
||||
public int Unknown1125;
|
||||
}
|
||||
|
||||
public sealed class ItemSearchNameRecord
|
||||
{
|
||||
public uint Id;
|
||||
@@ -389,6 +414,8 @@ namespace Game.DataStorage
|
||||
public int ModifiedCraftingReagentItemID;
|
||||
public uint ContentTuningID;
|
||||
public uint PlayerLevelToItemLevelCurveID;
|
||||
public int ItemLevelOffsetCurveID;
|
||||
public int ItemLevelOffsetItemLevel;
|
||||
public ushort ItemNameDescriptionID;
|
||||
public ushort RequiredTransmogHoliday;
|
||||
public ushort RequiredHoliday;
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace Game.DataStorage
|
||||
public uint[] Time = new uint[2];
|
||||
public uint[] AuraSpellID = new uint[4];
|
||||
public byte[] AuraStacks = new byte[4];
|
||||
public ushort[] Achievement = new ushort[4];
|
||||
public uint[] Achievement = new uint[4];
|
||||
public ushort[] AreaID = new ushort[4];
|
||||
public byte[] LfgStatus = new byte[4];
|
||||
public byte[] LfgCompare = new byte[4];
|
||||
@@ -165,6 +165,7 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public int StorageIndex;
|
||||
public int Type;
|
||||
public int Unknown1125;
|
||||
|
||||
public PlayerDataElementType GetElementType() { return (PlayerDataElementType)Type; }
|
||||
}
|
||||
@@ -174,6 +175,7 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public int StorageIndex;
|
||||
public int Type;
|
||||
public int Unknown1125;
|
||||
|
||||
public PlayerDataElementType GetElementType() { return (PlayerDataElementType)Type; }
|
||||
}
|
||||
@@ -183,6 +185,7 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public int StorageIndex;
|
||||
public int Unknown1107;
|
||||
public int Unknown1125;
|
||||
}
|
||||
|
||||
public sealed class PlayerDataFlagCharacterRecord
|
||||
@@ -190,6 +193,7 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public int StorageIndex;
|
||||
public int Unknown1107;
|
||||
public int Unknown1125;
|
||||
}
|
||||
|
||||
public sealed class PowerDisplayRecord
|
||||
|
||||
@@ -43,8 +43,8 @@ namespace Game.DataStorage
|
||||
public sealed class SceneScriptRecord
|
||||
{
|
||||
public uint Id;
|
||||
public ushort FirstSceneScriptID;
|
||||
public ushort NextSceneScriptID;
|
||||
public uint FirstSceneScriptID;
|
||||
public uint NextSceneScriptID;
|
||||
public int Unknown915;
|
||||
}
|
||||
|
||||
@@ -244,10 +244,10 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public byte DifficultyID;
|
||||
public ushort Category;
|
||||
public sbyte DefenseType;
|
||||
public int DefenseType;
|
||||
public sbyte DispelType;
|
||||
public sbyte Mechanic;
|
||||
public sbyte PreventionType;
|
||||
public int PreventionType;
|
||||
public ushort StartRecoveryCategory;
|
||||
public ushort ChargeCategory;
|
||||
public uint SpellID;
|
||||
@@ -361,7 +361,7 @@ namespace Game.DataStorage
|
||||
{
|
||||
public uint Id;
|
||||
public byte DifficultyID;
|
||||
public short InterruptFlags;
|
||||
public int InterruptFlags;
|
||||
public int[] AuraInterruptFlags = new int[2];
|
||||
public int[] ChannelInterruptFlags = new int[2];
|
||||
public uint SpellID;
|
||||
|
||||
@@ -143,6 +143,7 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public int Amount;
|
||||
public int TraitCurrencyID;
|
||||
public int CurveID;
|
||||
}
|
||||
|
||||
public sealed class TraitCurrencyRecord
|
||||
@@ -152,6 +153,8 @@ namespace Game.DataStorage
|
||||
public int CurrencyTypesID;
|
||||
public int Flags;
|
||||
public int Icon;
|
||||
public int PlayerDataElementAccountID;
|
||||
public int PlayerDataElementCharacterID;
|
||||
|
||||
public TraitCurrencyType GetCurrencyType() { return (TraitCurrencyType)Type; }
|
||||
}
|
||||
@@ -294,11 +297,23 @@ namespace Game.DataStorage
|
||||
{
|
||||
public LocalizedString Name;
|
||||
public LocalizedString Description;
|
||||
public uint ID;
|
||||
public uint Id;
|
||||
public int UiTextureAtlasElementID;
|
||||
public uint TraitTreeID; // Parent tree
|
||||
}
|
||||
|
||||
public sealed class TraitSystemRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int Flags;
|
||||
public int WidgetSetID;
|
||||
public int TraitChangeSpell;
|
||||
public int ItemID;
|
||||
public int VariationType;
|
||||
|
||||
public TraitSystemVariationType GetVariationType() { return (TraitSystemVariationType)VariationType; }
|
||||
}
|
||||
|
||||
public sealed class TraitTreeRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace Game.DataStorage
|
||||
public int AreaID;
|
||||
public int WmoDoodadPlacementID;
|
||||
public int WmoGroupID;
|
||||
public int Unknown1125;
|
||||
}
|
||||
|
||||
public sealed class UiMapLinkRecord
|
||||
|
||||
Reference in New Issue
Block a user