Skip to content

Commit

Permalink
Update hotfixes to 11.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
meji46 committed Nov 15, 2024
1 parent 01b2b33 commit ac1ad91
Show file tree
Hide file tree
Showing 8 changed files with 583 additions and 5 deletions.
56 changes: 56 additions & 0 deletions WowPacketParser/SQL/Builders/HotfixBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3082,6 +3082,13 @@ public static string Hotfixes()
sql += SQLUtil.Compare(Storage.BroadcastTextDurationHotfixes1100, hotfixes, StoreNameType.None);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

if (!Storage.MailTemplateHotfixesLocale1100.IsEmpty())
{
var hotfixes = SQLDatabase.Get(Storage.MailTemplateHotfixesLocale1100, Settings.HotfixesDatabase);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,24 @@ public sealed record BroadcastTextDurationHotfix1100: IDataModel
[DBFieldName("VerifiedBuild")]
public int? VerifiedBuild = ClientVersion.BuildInt;
}

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

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

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

[DBFieldName("BroadcastTextID")]
public uint? BroadcastTextID;

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

[Hotfix]
[DBTableName("chr_customization_option")]
public sealed record ChrCustomizationOptionHotfix1105 : IDataModel
{
[DBFieldName("Name")]
public string Name;

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

[DBFieldName("SecondaryID")]
public ushort? SecondaryID;

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

[DBFieldName("ChrModelID")]
public uint? ChrModelID;

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

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

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

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

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

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

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

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

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

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

[DBFieldName("locale", true)]
public string Locale = ClientLocale.PacketLocaleString;

[DBFieldName("Name_lang")]
public string NameLang;

[DBFieldName("VerifiedBuild")]
public int? VerifiedBuild = ClientVersion.BuildInt;
}
}
69 changes: 69 additions & 0 deletions WowPacketParser/Store/Objects/Hotfixes/11_X_X/DifficultyHotfix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,73 @@ public sealed record DifficultyLocaleHotfix1100 : IDataModel
public int? VerifiedBuild = ClientVersion.BuildInt;
}

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

[DBFieldName("Name")]
public string Name;

[DBFieldName("InstanceType")]
public byte? InstanceType;

[DBFieldName("OrderIndex")]
public byte? OrderIndex;

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

[DBFieldName("FallbackDifficultyID")]
public byte? FallbackDifficultyID;

[DBFieldName("MinPlayers")]
public byte? MinPlayers;

[DBFieldName("MaxPlayers")]
public byte? MaxPlayers;

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

[DBFieldName("ItemContext")]
public byte? ItemContext;

[DBFieldName("ToggleDifficultyID")]
public byte? ToggleDifficultyID;

[DBFieldName("GroupSizeHealthCurveID")]
public uint? GroupSizeHealthCurveID;

[DBFieldName("GroupSizeDmgCurveID")]
public uint? GroupSizeDmgCurveID;

[DBFieldName("GroupSizeSpellPointsCurveID")]
public uint? GroupSizeSpellPointsCurveID;

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

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

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

[DBFieldName("locale", true)]
public string Locale = ClientLocale.PacketLocaleString;

[DBFieldName("Name_lang")]
public string NameLang;

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

0 comments on commit ac1ad91

Please sign in to comment.