Core: Updated to 11.2.5.63704
Port From (https://github.com/TrinityCore/TrinityCore/commit/53068a94e88991ae7196fb247df4b7ca2e47e554)
This commit is contained in:
@@ -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