Skip to content

Commit f1fcdc3

Browse files
committed
Move 3.4.x hotfix parsing into own folder
1 parent ba4d81c commit f1fcdc3

File tree

647 files changed

+20910
-15243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

647 files changed

+20910
-15243
lines changed

WowPacketParser/SQL/Builders/HotfixBuilder.cs

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -5561,13 +5561,6 @@ public static string Hotfixes()
55615561
sql += SQLUtil.Compare(Storage.AchievementHotfixes340, hotfixes, StoreNameType.None);
55625562
}
55635563

5564-
if (!Storage.AchievementHotfixes343.IsEmpty())
5565-
{
5566-
var hotfixes = SQLDatabase.Get(Storage.AchievementHotfixes343, Settings.HotfixesDatabase);
5567-
5568-
sql += SQLUtil.Compare(Storage.AchievementHotfixes343, hotfixes, StoreNameType.None);
5569-
}
5570-
55715564
if (!Storage.AchievementCategoryHotfixes340.IsEmpty())
55725565
{
55735566
var hotfixes = SQLDatabase.Get(Storage.AchievementCategoryHotfixes340, Settings.HotfixesDatabase);
@@ -5918,13 +5911,6 @@ public static string Hotfixes()
59185911
sql += SQLUtil.Compare(Storage.ChatChannelsHotfixes340, hotfixes, StoreNameType.None);
59195912
}
59205913

5921-
if (!Storage.ChatChannelsHotfixes343.IsEmpty())
5922-
{
5923-
var hotfixes = SQLDatabase.Get(Storage.ChatChannelsHotfixes343, Settings.HotfixesDatabase);
5924-
5925-
sql += SQLUtil.Compare(Storage.ChatChannelsHotfixes343, hotfixes, StoreNameType.None);
5926-
}
5927-
59285914
if (!Storage.ChrClassUiDisplayHotfixes340.IsEmpty())
59295915
{
59305916
var hotfixes = SQLDatabase.Get(Storage.ChrClassUiDisplayHotfixes340, Settings.HotfixesDatabase);
@@ -6618,13 +6604,6 @@ public static string Hotfixes()
66186604
sql += SQLUtil.Compare(Storage.ItemHotfixes340, hotfixes, StoreNameType.None);
66196605
}
66206606

6621-
if (!Storage.ItemHotfixes341.IsEmpty())
6622-
{
6623-
var hotfixes = SQLDatabase.Get(Storage.ItemHotfixes341, Settings.HotfixesDatabase);
6624-
6625-
sql += SQLUtil.Compare(Storage.ItemHotfixes341, hotfixes, StoreNameType.None);
6626-
}
6627-
66286607
if (!Storage.ItemAppearanceHotfixes340.IsEmpty())
66296608
{
66306609
var hotfixes = SQLDatabase.Get(Storage.ItemAppearanceHotfixes340, Settings.HotfixesDatabase);
@@ -6982,13 +6961,6 @@ public static string Hotfixes()
69826961
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixes340, hotfixes, StoreNameType.None);
69836962
}
69846963

6985-
if (!Storage.LfgDungeonsHotfixes341.IsEmpty())
6986-
{
6987-
var hotfixes = SQLDatabase.Get(Storage.LfgDungeonsHotfixes341, Settings.HotfixesDatabase);
6988-
6989-
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixes341, hotfixes, StoreNameType.None);
6990-
}
6991-
69926964
if (!Storage.LightHotfixes340.IsEmpty())
69936965
{
69946966
var hotfixes = SQLDatabase.Get(Storage.LightHotfixes340, Settings.HotfixesDatabase);
@@ -7052,13 +7024,6 @@ public static string Hotfixes()
70527024
sql += SQLUtil.Compare(Storage.ModifierTreeHotfixes340, hotfixes, StoreNameType.None);
70537025
}
70547026

7055-
if (!Storage.ModifierTreeHotfixes343.IsEmpty())
7056-
{
7057-
var hotfixes = SQLDatabase.Get(Storage.ModifierTreeHotfixes343, Settings.HotfixesDatabase);
7058-
7059-
sql += SQLUtil.Compare(Storage.ModifierTreeHotfixes343, hotfixes, StoreNameType.None);
7060-
}
7061-
70627027
if (!Storage.MountHotfixes340.IsEmpty())
70637028
{
70647029
var hotfixes = SQLDatabase.Get(Storage.MountHotfixes340, Settings.HotfixesDatabase);
@@ -7353,13 +7318,6 @@ public static string Hotfixes()
73537318
sql += SQLUtil.Compare(Storage.ScalingStatDistributionHotfixes340, hotfixes, StoreNameType.None);
73547319
}
73557320

7356-
if (!Storage.ScalingStatDistributionHotfixes341.IsEmpty())
7357-
{
7358-
var hotfixes = SQLDatabase.Get(Storage.ScalingStatDistributionHotfixes341, Settings.HotfixesDatabase);
7359-
7360-
sql += SQLUtil.Compare(Storage.ScalingStatDistributionHotfixes341, hotfixes, StoreNameType.None);
7361-
}
7362-
73637321
if (!Storage.ScalingStatValuesHotfixes340.IsEmpty())
73647322
{
73657323
var hotfixes = SQLDatabase.Get(Storage.ScalingStatValuesHotfixes340, Settings.HotfixesDatabase);
@@ -8095,13 +8053,6 @@ public static string Hotfixes()
80958053
sql += SQLUtil.Compare(Storage.VehicleSeatHotfixes340, hotfixes, StoreNameType.None);
80968054
}
80978055

8098-
if (!Storage.VehicleSeatHotfixes342.IsEmpty())
8099-
{
8100-
var hotfixes = SQLDatabase.Get(Storage.VehicleSeatHotfixes342, Settings.HotfixesDatabase);
8101-
8102-
sql += SQLUtil.Compare(Storage.VehicleSeatHotfixes342, hotfixes, StoreNameType.None);
8103-
}
8104-
81058056
if (!Storage.WmoAreaTableHotfixes340.IsEmpty())
81068057
{
81078058
var hotfixes = SQLDatabase.Get(Storage.WmoAreaTableHotfixes340, Settings.HotfixesDatabase);
@@ -11959,13 +11910,6 @@ public static string Hotfixes()
1195911910
sql += SQLUtil.Compare(Storage.AchievementHotfixesLocale340, hotfixes, StoreNameType.None);
1196011911
}
1196111912

11962-
if (!Storage.AchievementHotfixesLocale343.IsEmpty())
11963-
{
11964-
var hotfixes = SQLDatabase.Get(Storage.AchievementHotfixesLocale343, Settings.HotfixesDatabase);
11965-
11966-
sql += SQLUtil.Compare(Storage.AchievementHotfixesLocale343, hotfixes, StoreNameType.None);
11967-
}
11968-
1196911913
if (!Storage.AchievementCategoryHotfixesLocale340.IsEmpty())
1197011914
{
1197111915
var hotfixes = SQLDatabase.Get(Storage.AchievementCategoryHotfixesLocale340, Settings.HotfixesDatabase);
@@ -12113,13 +12057,6 @@ public static string Hotfixes()
1211312057
sql += SQLUtil.Compare(Storage.ChatChannelsHotfixesLocale340, hotfixes, StoreNameType.None);
1211412058
}
1211512059

12116-
if (!Storage.ChatChannelsHotfixesLocale343.IsEmpty())
12117-
{
12118-
var hotfixes = SQLDatabase.Get(Storage.ChatChannelsHotfixesLocale343, Settings.HotfixesDatabase);
12119-
12120-
sql += SQLUtil.Compare(Storage.ChatChannelsHotfixesLocale343, hotfixes, StoreNameType.None);
12121-
}
12122-
1212312060
if (!Storage.ChrClassesHotfixesLocale340.IsEmpty())
1212412061
{
1212512062
var hotfixes = SQLDatabase.Get(Storage.ChrClassesHotfixesLocale340, Settings.HotfixesDatabase);
@@ -12491,13 +12428,6 @@ public static string Hotfixes()
1249112428
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixesLocale340, hotfixes, StoreNameType.None);
1249212429
}
1249312430

12494-
if (!Storage.LfgDungeonsHotfixesLocale341.IsEmpty())
12495-
{
12496-
var hotfixes = SQLDatabase.Get(Storage.LfgDungeonsHotfixesLocale341, Settings.HotfixesDatabase);
12497-
12498-
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixesLocale341, hotfixes, StoreNameType.None);
12499-
}
12500-
1250112431
if (!Storage.MailTemplateHotfixesLocale340.IsEmpty())
1250212432
{
1250312433
var hotfixes = SQLDatabase.Get(Storage.MailTemplateHotfixesLocale340, Settings.HotfixesDatabase);
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
using WowPacketParser.Misc;
2+
using WowPacketParser.SQL;
3+
4+
namespace WowPacketParser.Store.Objects
5+
{
6+
[Hotfix]
7+
[DBTableName("achievement_category")]
8+
public sealed record AchievementCategoryHotfix340: IDataModel
9+
{
10+
[DBFieldName("Name")]
11+
public string Name;
12+
13+
[DBFieldName("ID", true)]
14+
public uint? ID;
15+
16+
[DBFieldName("Parent")]
17+
public short? Parent;
18+
19+
[DBFieldName("UiOrder")]
20+
public sbyte? UiOrder;
21+
22+
[DBFieldName("VerifiedBuild")]
23+
public int? VerifiedBuild = ClientVersion.BuildInt;
24+
}
25+
26+
[Hotfix]
27+
[DBTableName("achievement_category_locale")]
28+
public sealed record AchievementCategoryLocaleHotfix340: IDataModel
29+
{
30+
[DBFieldName("ID", true)]
31+
public uint? ID;
32+
33+
[DBFieldName("locale", true)]
34+
public string Locale = ClientLocale.PacketLocaleString;
35+
36+
[DBFieldName("Name_lang")]
37+
public string NameLang;
38+
39+
[DBFieldName("VerifiedBuild")]
40+
public int? VerifiedBuild = ClientVersion.BuildInt;
41+
}
42+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
using WowPacketParser.Misc;
2+
using WowPacketParser.SQL;
3+
4+
namespace WowPacketParser.Store.Objects
5+
{
6+
[Hotfix]
7+
[DBTableName("achievement")]
8+
public sealed record AchievementHotfix340: IDataModel
9+
{
10+
[DBFieldName("Description")]
11+
public string Description;
12+
13+
[DBFieldName("Title")]
14+
public string Title;
15+
16+
[DBFieldName("Reward")]
17+
public string Reward;
18+
19+
[DBFieldName("ID", true)]
20+
public uint? ID;
21+
22+
[DBFieldName("InstanceID")]
23+
public short? InstanceID;
24+
25+
[DBFieldName("Faction")]
26+
public sbyte? Faction;
27+
28+
[DBFieldName("Supercedes")]
29+
public short? Supercedes;
30+
31+
[DBFieldName("Category")]
32+
public short? Category;
33+
34+
[DBFieldName("MinimumCriteria")]
35+
public sbyte? MinimumCriteria;
36+
37+
[DBFieldName("Points")]
38+
public sbyte? Points;
39+
40+
[DBFieldName("Flags")]
41+
public int? Flags;
42+
43+
[DBFieldName("UiOrder")]
44+
public short? UiOrder;
45+
46+
[DBFieldName("IconFileID")]
47+
public int? IconFileID;
48+
49+
[DBFieldName("CriteriaTree")]
50+
public uint? CriteriaTree;
51+
52+
[DBFieldName("SharesCriteria")]
53+
public short? SharesCriteria;
54+
55+
[DBFieldName("VerifiedBuild")]
56+
public int? VerifiedBuild = ClientVersion.BuildInt;
57+
}
58+
59+
[Hotfix]
60+
[DBTableName("achievement_locale")]
61+
public sealed record AchievementLocaleHotfix340: IDataModel
62+
{
63+
[DBFieldName("ID", true)]
64+
public uint? ID;
65+
66+
[DBFieldName("locale", true)]
67+
public string Locale = ClientLocale.PacketLocaleString;
68+
69+
[DBFieldName("Description_lang")]
70+
public string DescriptionLang;
71+
72+
[DBFieldName("Title_lang")]
73+
public string TitleLang;
74+
75+
[DBFieldName("Reward_lang")]
76+
public string RewardLang;
77+
78+
[DBFieldName("VerifiedBuild")]
79+
public int? VerifiedBuild = ClientVersion.BuildInt;
80+
}
81+
}
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
using WowPacketParser.Misc;
2+
using WowPacketParser.SQL;
3+
4+
namespace WowPacketParser.Store.Objects
5+
{
6+
[Hotfix]
7+
[DBTableName("adventure_journal")]
8+
public sealed record AdventureJournalHotfix340: IDataModel
9+
{
10+
[DBFieldName("ID", true)]
11+
public uint? ID;
12+
13+
[DBFieldName("Name")]
14+
public string Name;
15+
16+
[DBFieldName("Description")]
17+
public string Description;
18+
19+
[DBFieldName("ButtonText")]
20+
public string ButtonText;
21+
22+
[DBFieldName("RewardDescription")]
23+
public string RewardDescription;
24+
25+
[DBFieldName("ContinueDescription")]
26+
public string ContinueDescription;
27+
28+
[DBFieldName("Type")]
29+
public byte? Type;
30+
31+
[DBFieldName("PlayerConditionID")]
32+
public uint? PlayerConditionID;
33+
34+
[DBFieldName("Flags")]
35+
public int? Flags;
36+
37+
[DBFieldName("ButtonActionType")]
38+
public byte? ButtonActionType;
39+
40+
[DBFieldName("TextureFileDataID")]
41+
public int? TextureFileDataID;
42+
43+
[DBFieldName("LfgDungeonID")]
44+
public ushort? LfgDungeonID;
45+
46+
[DBFieldName("QuestID")]
47+
public uint? QuestID;
48+
49+
[DBFieldName("BattleMasterListID")]
50+
public ushort? BattleMasterListID;
51+
52+
[DBFieldName("PriorityMin")]
53+
public byte? PriorityMin;
54+
55+
[DBFieldName("PriorityMax")]
56+
public byte? PriorityMax;
57+
58+
[DBFieldName("ItemID")]
59+
public int? ItemID;
60+
61+
[DBFieldName("ItemQuantity")]
62+
public uint? ItemQuantity;
63+
64+
[DBFieldName("CurrencyType")]
65+
public ushort? CurrencyType;
66+
67+
[DBFieldName("CurrencyQuantity")]
68+
public byte? CurrencyQuantity;
69+
70+
[DBFieldName("UIMapID")]
71+
public ushort? UIMapID;
72+
73+
[DBFieldName("BonusPlayerConditionID", 2)]
74+
public uint?[] BonusPlayerConditionID;
75+
76+
[DBFieldName("BonusValue", 2)]
77+
public byte?[] BonusValue;
78+
79+
[DBFieldName("VerifiedBuild")]
80+
public int? VerifiedBuild = ClientVersion.BuildInt;
81+
}
82+
83+
[Hotfix]
84+
[DBTableName("adventure_journal_locale")]
85+
public sealed record AdventureJournalLocaleHotfix340: IDataModel
86+
{
87+
[DBFieldName("ID", true)]
88+
public uint? ID;
89+
90+
[DBFieldName("locale", true)]
91+
public string Locale = ClientLocale.PacketLocaleString;
92+
93+
[DBFieldName("Name_lang")]
94+
public string NameLang;
95+
96+
[DBFieldName("Description_lang")]
97+
public string DescriptionLang;
98+
99+
[DBFieldName("ButtonText_lang")]
100+
public string ButtonTextLang;
101+
102+
[DBFieldName("RewardDescription_lang")]
103+
public string RewardDescriptionLang;
104+
105+
[DBFieldName("ContinueDescription_lang")]
106+
public string ContinueDescriptionLang;
107+
108+
[DBFieldName("VerifiedBuild")]
109+
public int? VerifiedBuild = ClientVersion.BuildInt;
110+
}
111+
}

0 commit comments

Comments
 (0)