Skip to content

Commit

Permalink
Update hotfixes to 10.2.0 (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
meji46 authored Nov 20, 2023
1 parent 8956b01 commit 3b846c1
Show file tree
Hide file tree
Showing 19 changed files with 1,437 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public sealed class ItemSparseEntry
public uint DurationInInventory;
public float QualityModifier;
public uint BagFamily;
public int StartQuestID;
public int LanguageID;
public float ItemRange;
[Cardinality(10)]
public float[] StatPercentageOfSocket = new float[10];
Expand Down
2 changes: 2 additions & 0 deletions WowPacketParser/Hotfix/IHotfixSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public void SerializeStore(HotfixStore<T> store, StringBuilder hotfixBuilder, St
case "azerite_essence_power":
case "barber_shop_style":
case "battlemaster_list":
case "battle_pet_ability":
case "battle_pet_species":
case "broadcast_text":
case "char_titles":
Expand Down Expand Up @@ -344,6 +345,7 @@ public void SerializeStore(HotfixStore<T> store, StringBuilder hotfixBuilder, St
case "quest_sort":
case "scenario":
case "scenario_step":
case "server_messages":
case "skill_line":
case "specialization_spells":
case "spell_category":
Expand Down
126 changes: 126 additions & 0 deletions WowPacketParser/SQL/Builders/HotfixBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.AreaTriggerHotfixes1007, hotfixes, StoreNameType.None);
}

if (!Storage.AreaTriggerHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.AreaTriggerHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.AreaTriggerHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.ArmorLocationHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ArmorLocationHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -448,6 +455,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.ChrCustomizationDisplayInfoHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.ChrCustomizationDisplayInfoHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ChrCustomizationDisplayInfoHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.ChrCustomizationDisplayInfoHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.ChrCustomizationElementHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ChrCustomizationElementHotfixes1000, Settings.HotfixesDatabase);
Expand All @@ -462,6 +476,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.ChrCustomizationElementHotfixes1017, hotfixes, StoreNameType.None);
}

if (!Storage.ChrCustomizationElementHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ChrCustomizationElementHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.ChrCustomizationElementHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.ChrCustomizationOptionHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ChrCustomizationOptionHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -581,6 +602,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.ConversationLineHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.ConversationLineHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ConversationLineHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.ConversationLineHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.CorruptionEffectsHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.CorruptionEffectsHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -707,6 +735,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.CurvePointHotfixes1010, hotfixes, StoreNameType.None);
}

if (!Storage.CurvePointHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.CurvePointHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.CurvePointHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.DestructibleModelDataHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.DestructibleModelDataHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -1519,13 +1554,27 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.MountHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.MountHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MountHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.MountHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.MountCapabilityHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MountCapabilityHotfixes1000, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.MountCapabilityHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.MountCapabilityHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MountCapabilityHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.MountCapabilityHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.MountTypeXCapabilityHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MountTypeXCapabilityHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -1554,6 +1603,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.MovieHotfixes1010, hotfixes, StoreNameType.None);
}

if (!Storage.MovieHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MovieHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.MovieHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.MythicPlusSeasonHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MythicPlusSeasonHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -1617,6 +1673,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.PhaseHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.PhaseHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.PhaseHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.PhaseHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.PhaseXPhaseGroupHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.PhaseXPhaseGroupHotfixes1000, Settings.HotfixesDatabase);
Expand All @@ -1631,6 +1694,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.PlayerConditionHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.PlayerConditionHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.PlayerConditionHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.PowerDisplayHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.PowerDisplayHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -1841,6 +1911,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.SceneScriptTextHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.ServerMessagesHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ServerMessagesHotfixes1000, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.ServerMessagesHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.SkillLineHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.SkillLineHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -2135,6 +2212,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.SpellShapeshiftFormHotfixes1000, hotfixes, StoreNameType.None);
}

if (!Storage.SpellShapeshiftFormHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.SpellShapeshiftFormHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.SpellShapeshiftFormHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.SpellTargetRestrictionsHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.SpellTargetRestrictionsHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -2485,6 +2569,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.UiMapHotfixes1015, hotfixes, StoreNameType.None);
}

if (!Storage.UiMapHotfixes1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.UiMapHotfixes1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.UiMapHotfixes1020, hotfixes, StoreNameType.None);
}

if (!Storage.UiMapAssignmentHotfixes1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.UiMapAssignmentHotfixes1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -3110,13 +3201,27 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.MountHotfixesLocale1000, hotfixes, StoreNameType.None);
}

if (!Storage.MountHotfixesLocale1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MountHotfixesLocale1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.MountHotfixesLocale1020, hotfixes, StoreNameType.None);
}

if (!Storage.PlayerConditionHotfixesLocale1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.PlayerConditionHotfixesLocale1000, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.PlayerConditionHotfixesLocale1000, hotfixes, StoreNameType.None);
}

if (!Storage.PlayerConditionHotfixesLocale1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.PlayerConditionHotfixesLocale1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.PlayerConditionHotfixesLocale1020, hotfixes, StoreNameType.None);
}

if (!Storage.PrestigeLevelInfoHotfixesLocale1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.PrestigeLevelInfoHotfixesLocale1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -3180,6 +3285,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.ScenarioStepHotfixesLocale1000, hotfixes, StoreNameType.None);
}

if (!Storage.ServerMessagesHotfixesLocale1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.ServerMessagesHotfixesLocale1000, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.ServerMessagesHotfixesLocale1000, hotfixes, StoreNameType.None);
}

if (!Storage.SkillLineHotfixesLocale1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.SkillLineHotfixesLocale1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -3250,6 +3362,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.SpellShapeshiftFormHotfixesLocale1000, hotfixes, StoreNameType.None);
}

if (!Storage.SpellShapeshiftFormHotfixesLocale1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.SpellShapeshiftFormHotfixesLocale1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.SpellShapeshiftFormHotfixesLocale1020, hotfixes, StoreNameType.None);
}

if (!Storage.TalentHotfixesLocale1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.TalentHotfixesLocale1000, Settings.HotfixesDatabase);
Expand Down Expand Up @@ -3327,6 +3446,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.UiMapHotfixesLocale1015, hotfixes, StoreNameType.None);
}

if (!Storage.UiMapHotfixesLocale1020.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.UiMapHotfixesLocale1020, Settings.HotfixesDatabase);

sql += SQLUtil.Compare(Storage.UiMapHotfixesLocale1020, hotfixes, StoreNameType.None);
}

if (!Storage.UiSplashScreenHotfixesLocale1000.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.UiSplashScreenHotfixesLocale1000, Settings.HotfixesDatabase);
Expand Down
59 changes: 59 additions & 0 deletions WowPacketParser/Store/Objects/Hotfixes/AreaTriggerHotfix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,63 @@ public sealed record AreaTriggerHotfix1007 : IDataModel
[DBFieldName("VerifiedBuild")]
public int? VerifiedBuild = ClientVersion.BuildInt;
}

[Hotfix]
[DBTableName("area_trigger")]
public sealed record AreaTriggerHotfix1020 : IDataModel
{
[DBFieldName("PosX")]
public float? PosX;

[DBFieldName("PosY")]
public float? PosY;

[DBFieldName("PosZ")]
public float? PosZ;

[DBFieldName("ID", true)]
public uint? ID;

[DBFieldName("ContinentID")]
public short? ContinentID;

[DBFieldName("PhaseUseFlags")]
public int? PhaseUseFlags;

[DBFieldName("PhaseID")]
public short? PhaseID;

[DBFieldName("PhaseGroupID")]
public short? PhaseGroupID;

[DBFieldName("Radius")]
public float? Radius;

[DBFieldName("BoxLength")]
public float? BoxLength;

[DBFieldName("BoxWidth")]
public float? BoxWidth;

[DBFieldName("BoxHeight")]
public float? BoxHeight;

[DBFieldName("BoxYaw")]
public float? BoxYaw;

[DBFieldName("ShapeType")]
public sbyte? ShapeType;

[DBFieldName("ShapeID")]
public short? ShapeID;

[DBFieldName("AreaTriggerActionSetID")]
public int? AreaTriggerActionSetID;

[DBFieldName("Flags")]
public sbyte? Flags;

[DBFieldName("VerifiedBuild")]
public int? VerifiedBuild = ClientVersion.BuildInt;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,30 @@ public sealed record ChrCustomizationDisplayInfoHotfix1000: IDataModel
[DBFieldName("VerifiedBuild")]
public int? VerifiedBuild = ClientVersion.BuildInt;
}

[Hotfix]
[DBTableName("chr_customization_display_info")]
public sealed record ChrCustomizationDisplayInfoHotfix1020 : IDataModel
{
[DBFieldName("ID", true)]
public uint? ID;

[DBFieldName("ShapeshiftFormID")]
public int? ShapeshiftFormID;

[DBFieldName("DisplayID")]
public int? DisplayID;

[DBFieldName("BarberShopMinCameraDistance")]
public float? BarberShopMinCameraDistance;

[DBFieldName("BarberShopHeightOffset")]
public float? BarberShopHeightOffset;

[DBFieldName("BarberShopCameraZoomOffset")]
public float? BarberShopCameraZoomOffset;

[DBFieldName("VerifiedBuild")]
public int? VerifiedBuild = ClientVersion.BuildInt;
}
}
Loading

0 comments on commit 3b846c1

Please sign in to comment.