Core/DataStores: Updated structures to 9.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c8ef045a52723618b91c565ae6c3efc711e7581)
This commit is contained in:
@@ -400,13 +400,13 @@ namespace Game.DataStorage
|
||||
}
|
||||
|
||||
// Check loaded DB2 files proper version
|
||||
if (!CliDB.AreaTableStorage.ContainsKey(13574) || // last area added in 9.0.2 (37176)
|
||||
!CliDB.CharTitlesStorage.ContainsKey(694) || // last char title added in 9.0.2 (37176)
|
||||
!CliDB.GemPropertiesStorage.ContainsKey(3825) || // last gem property added in 9.0.2 (37176)
|
||||
!CliDB.ItemStorage.ContainsKey(184869) || // last item added in 9.0.2 (37176)
|
||||
!CliDB.ItemExtendedCostStorage.ContainsKey(7048) || // last item extended cost added in 9.0.2 (37176)
|
||||
!CliDB.MapStorage.ContainsKey(2453) || // last map added in 9.0.2 (37176)
|
||||
!CliDB.SpellNameStorage.ContainsKey(349043)) // last spell added in 9.0.2 (37176)
|
||||
if (!CliDB.AreaTableStorage.ContainsKey(14083) || // last area added in 9.0.2 (37176)
|
||||
!CliDB.CharTitlesStorage.ContainsKey(727) || // last char title added in 9.0.2 (37176)
|
||||
!CliDB.GemPropertiesStorage.ContainsKey(3922) || // last gem property added in 9.0.2 (37176)
|
||||
!CliDB.ItemStorage.ContainsKey(193265) || // last item added in 9.0.2 (37176)
|
||||
!CliDB.ItemExtendedCostStorage.ContainsKey(7302) || // last item extended cost added in 9.0.2 (37176)
|
||||
!CliDB.MapStorage.ContainsKey(2559) || // last map added in 9.0.2 (37176)
|
||||
!CliDB.SpellNameStorage.ContainsKey(375051)) // last spell added in 9.0.2 (37176)
|
||||
{
|
||||
Log.outError(LogFilter.Misc, "You have _outdated_ DB2 files. Please extract correct versions from current using client.");
|
||||
Global.WorldMgr.ShutdownServ(10, ShutdownMask.Force, ShutdownExitCode.Error);
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace Game.DataStorage
|
||||
public string ContinueDescription;
|
||||
public byte Type;
|
||||
public uint PlayerConditionID;
|
||||
public byte Flags;
|
||||
public int Flags;
|
||||
public byte ButtonActionType;
|
||||
public int TextureFileDataID;
|
||||
public ushort LfgDungeonID;
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace Game.DataStorage
|
||||
public uint SelectScreenFileDataID;
|
||||
public uint IconFileDataID;
|
||||
public uint LowResScreenFileDataID;
|
||||
public uint Flags;
|
||||
public int Flags;
|
||||
public uint SpellTextureBlobFileDataID;
|
||||
public uint RolesMask;
|
||||
public uint ArmorTypeMask;
|
||||
@@ -202,7 +202,7 @@ namespace Game.DataStorage
|
||||
public float[] FaceCustomizationOffset = new float[3];
|
||||
public float[] CustomizeOffset = new float[3];
|
||||
public uint Id;
|
||||
public int Sex;
|
||||
public sbyte Sex;
|
||||
public uint DisplayID;
|
||||
public int CharComponentTextureLayoutID;
|
||||
public int Flags;
|
||||
@@ -556,7 +556,7 @@ namespace Game.DataStorage
|
||||
{
|
||||
public uint Id;
|
||||
public Vector2 Pos;
|
||||
public Vector2 PosPreSquish;
|
||||
public Vector2 PreSLSquishPos;
|
||||
public ushort CurveID;
|
||||
public byte OrderIndex;
|
||||
}
|
||||
|
||||
@@ -140,8 +140,8 @@ namespace Game.DataStorage
|
||||
public ushort ChildItemBonusTreeID;
|
||||
public ushort ChildItemBonusListID;
|
||||
public ushort ChildItemLevelSelectorID;
|
||||
public uint ItemBonusListGroupID;
|
||||
public uint ParentItemBonusTreeNodeID;
|
||||
public uint ChildItemBonusListGroupID;
|
||||
public uint IblGroupPointsModSetID;
|
||||
public uint ParentItemBonusTreeID;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Game.DataStorage
|
||||
public ushort FirstSectionID;
|
||||
public ushort UiMapID;
|
||||
public uint MapDisplayConditionID;
|
||||
public byte Flags;
|
||||
public int Flags;
|
||||
public sbyte DifficultyMask;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,8 @@ namespace Game.DataStorage
|
||||
public int UiModelSceneID;
|
||||
public int SpellID;
|
||||
public int IconFileDataID;
|
||||
public ushort Flags;
|
||||
public ushort IconFlags;
|
||||
public int Flags;
|
||||
public int IconFlags;
|
||||
public sbyte DifficultyMask;
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace Game.DataStorage
|
||||
public int ButtonSmallFileDataID;
|
||||
public int LoreFileDataID;
|
||||
public byte OrderIndex;
|
||||
public byte Flags;
|
||||
public int Flags;
|
||||
public ushort AreaID;
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace Game.DataStorage
|
||||
public LocalizedString Name;
|
||||
public string Description;
|
||||
public LfgType TypeID;
|
||||
public byte Subtype;
|
||||
public sbyte Subtype;
|
||||
public sbyte Faction;
|
||||
public int IconTextureFileID;
|
||||
public int RewardsBgTextureFileID;
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace Game.DataStorage
|
||||
public short WindSettingsID;
|
||||
public int ZmpFileDataID;
|
||||
public int WdtFileDataID;
|
||||
public MapFlags[] Flags = new MapFlags[2];
|
||||
public MapFlags[] Flags = new MapFlags[3];
|
||||
|
||||
// Helpers
|
||||
public Expansion Expansion() { return (Expansion)ExpansionID; }
|
||||
|
||||
@@ -655,8 +655,8 @@ namespace Game.DataStorage
|
||||
public uint Faction;
|
||||
public SummonTitle Title;
|
||||
public int Slot;
|
||||
public uint Flags;
|
||||
public uint[] Flags = new uint[2];
|
||||
|
||||
public SummonPropertiesFlags GetFlags() { return (SummonPropertiesFlags)Flags; }
|
||||
public SummonPropertiesFlags GetFlags() { return (SummonPropertiesFlags)Flags[0]; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user