Skip to content

Commit d4a9425

Browse files
committed
Sync hotfixes parsing with TC (11.0.7)
1 parent f16ce25 commit d4a9425

File tree

8 files changed

+2920
-1853
lines changed

8 files changed

+2920
-1853
lines changed

WowPacketParser/SQL/Builders/HotfixBuilder.cs

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3075,6 +3075,13 @@ public static string Hotfixes()
30753075
sql += SQLUtil.Compare(Storage.BroadcastTextHotfixes1100, hotfixes, StoreNameType.None);
30763076
}
30773077

3078+
if (!Storage.BroadcastTextHotfixes1107.IsEmpty())
3079+
{
3080+
var hotfixes = SQLDatabase.Get(Storage.BroadcastTextHotfixes1107, Settings.HotfixesDatabase);
3081+
3082+
sql += SQLUtil.Compare(Storage.BroadcastTextHotfixes1107, hotfixes, StoreNameType.None);
3083+
}
3084+
30783085
if (!Storage.BroadcastTextDurationHotfixes1100.IsEmpty())
30793086
{
30803087
var hotfixes = SQLDatabase.Get(Storage.BroadcastTextDurationHotfixes1100, Settings.HotfixesDatabase);
@@ -4111,6 +4118,13 @@ public static string Hotfixes()
41114118
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixes1105, hotfixes, StoreNameType.None);
41124119
}
41134120

4121+
if (!Storage.LfgDungeonsHotfixes1107.IsEmpty())
4122+
{
4123+
var hotfixes = SQLDatabase.Get(Storage.LfgDungeonsHotfixes1107, Settings.HotfixesDatabase);
4124+
4125+
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixes1107, hotfixes, StoreNameType.None);
4126+
}
4127+
41144128
if (!Storage.LightHotfixes1100.IsEmpty())
41154129
{
41164130
var hotfixes = SQLDatabase.Get(Storage.LightHotfixes1100, Settings.HotfixesDatabase);
@@ -4174,6 +4188,13 @@ public static string Hotfixes()
41744188
sql += SQLUtil.Compare(Storage.MapDifficultyHotfixes1102, hotfixes, StoreNameType.None);
41754189
}
41764190

4191+
if (!Storage.MapDifficultyHotfixes1107.IsEmpty())
4192+
{
4193+
var hotfixes = SQLDatabase.Get(Storage.MapDifficultyHotfixes1107, Settings.HotfixesDatabase);
4194+
4195+
sql += SQLUtil.Compare(Storage.MapDifficultyHotfixes1107, hotfixes, StoreNameType.None);
4196+
}
4197+
41774198
if (!Storage.MapDifficultyXConditionHotfixes1100.IsEmpty())
41784199
{
41794200
var hotfixes = SQLDatabase.Get(Storage.MapDifficultyXConditionHotfixes1100, Settings.HotfixesDatabase);
@@ -4335,6 +4356,13 @@ public static string Hotfixes()
43354356
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixes1100, hotfixes, StoreNameType.None);
43364357
}
43374358

4359+
if (!Storage.PlayerConditionHotfixes1107.IsEmpty())
4360+
{
4361+
var hotfixes = SQLDatabase.Get(Storage.PlayerConditionHotfixes1107, Settings.HotfixesDatabase);
4362+
4363+
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixes1107, hotfixes, StoreNameType.None);
4364+
}
4365+
43384366
if (!Storage.PowerDisplayHotfixes1100.IsEmpty())
43394367
{
43404368
var hotfixes = SQLDatabase.Get(Storage.PowerDisplayHotfixes1100, Settings.HotfixesDatabase);
@@ -5266,6 +5294,13 @@ public static string Hotfixes()
52665294
sql += SQLUtil.Compare(Storage.VignetteHotfixes1100, hotfixes, StoreNameType.None);
52675295
}
52685296

5297+
if (!Storage.VignetteHotfixes1107.IsEmpty())
5298+
{
5299+
var hotfixes = SQLDatabase.Get(Storage.VignetteHotfixes1107, Settings.HotfixesDatabase);
5300+
5301+
sql += SQLUtil.Compare(Storage.VignetteHotfixes1107, hotfixes, StoreNameType.None);
5302+
}
5303+
52695304
if (!Storage.WmoAreaTableHotfixes1100.IsEmpty())
52705305
{
52715306
var hotfixes = SQLDatabase.Get(Storage.WmoAreaTableHotfixes1100, Settings.HotfixesDatabase);
@@ -10893,6 +10928,13 @@ public static string Hotfixes()
1089310928
sql += SQLUtil.Compare(Storage.BroadcastTextHotfixesLocale1100, hotfixes, StoreNameType.None);
1089410929
}
1089510930

10931+
if (!Storage.BroadcastTextHotfixesLocale1107.IsEmpty())
10932+
{
10933+
var hotfixes = SQLDatabase.Get(Storage.BroadcastTextHotfixesLocale1107, Settings.HotfixesDatabase);
10934+
10935+
sql += SQLUtil.Compare(Storage.BroadcastTextHotfixesLocale1107, hotfixes, StoreNameType.None);
10936+
}
10937+
1089610938
if (!Storage.CharTitlesHotfixesLocale1100.IsEmpty())
1089710939
{
1089810940
var hotfixes = SQLDatabase.Get(Storage.CharTitlesHotfixesLocale1100, Settings.HotfixesDatabase);
@@ -11208,6 +11250,13 @@ public static string Hotfixes()
1120811250
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixesLocale1105, hotfixes, StoreNameType.None);
1120911251
}
1121011252

11253+
if (!Storage.LfgDungeonsHotfixesLocale1107.IsEmpty())
11254+
{
11255+
var hotfixes = SQLDatabase.Get(Storage.LfgDungeonsHotfixesLocale1107, Settings.HotfixesDatabase);
11256+
11257+
sql += SQLUtil.Compare(Storage.LfgDungeonsHotfixesLocale1107, hotfixes, StoreNameType.None);
11258+
}
11259+
1121111260
if (!Storage.MailTemplateHotfixesLocale1100.IsEmpty())
1121211261
{
1121311262
var hotfixes = SQLDatabase.Get(Storage.MailTemplateHotfixesLocale1100, Settings.HotfixesDatabase);
@@ -11243,6 +11292,13 @@ public static string Hotfixes()
1124311292
sql += SQLUtil.Compare(Storage.MapDifficultyHotfixesLocale1102, hotfixes, StoreNameType.None);
1124411293
}
1124511294

11295+
if (!Storage.MapDifficultyHotfixesLocale1107.IsEmpty())
11296+
{
11297+
var hotfixes = SQLDatabase.Get(Storage.MapDifficultyHotfixesLocale1107, Settings.HotfixesDatabase);
11298+
11299+
sql += SQLUtil.Compare(Storage.MapDifficultyHotfixesLocale1107, hotfixes, StoreNameType.None);
11300+
}
11301+
1124611302
if (!Storage.MapDifficultyXConditionHotfixesLocale1100.IsEmpty())
1124711303
{
1124811304
var hotfixes = SQLDatabase.Get(Storage.MapDifficultyXConditionHotfixesLocale1100, Settings.HotfixesDatabase);
@@ -11264,6 +11320,13 @@ public static string Hotfixes()
1126411320
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixesLocale1100, hotfixes, StoreNameType.None);
1126511321
}
1126611322

11323+
if (!Storage.PlayerConditionHotfixesLocale1107.IsEmpty())
11324+
{
11325+
var hotfixes = SQLDatabase.Get(Storage.PlayerConditionHotfixesLocale1107, Settings.HotfixesDatabase);
11326+
11327+
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixesLocale1107, hotfixes, StoreNameType.None);
11328+
}
11329+
1126711330
if (!Storage.PrestigeLevelInfoHotfixesLocale1100.IsEmpty())
1126811331
{
1126911332
var hotfixes = SQLDatabase.Get(Storage.PrestigeLevelInfoHotfixesLocale1100, Settings.HotfixesDatabase);
@@ -11502,6 +11565,13 @@ public static string Hotfixes()
1150211565
sql += SQLUtil.Compare(Storage.VignetteHotfixesLocale1100, hotfixes, StoreNameType.None);
1150311566
}
1150411567

11568+
if (!Storage.VignetteHotfixesLocale1107.IsEmpty())
11569+
{
11570+
var hotfixes = SQLDatabase.Get(Storage.VignetteHotfixesLocale1107, Settings.HotfixesDatabase);
11571+
11572+
sql += SQLUtil.Compare(Storage.VignetteHotfixesLocale1107, hotfixes, StoreNameType.None);
11573+
}
11574+
1150511575
if (!Storage.WmoAreaTableHotfixesLocale1100.IsEmpty())
1150611576
{
1150711577
var hotfixes = SQLDatabase.Get(Storage.WmoAreaTableHotfixesLocale1100, Settings.HotfixesDatabase);

WowPacketParser/Store/Objects/Hotfixes/11_X_X/BroadcastTextHotfix.cs

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,68 @@ public sealed record BroadcastTextLocaleHotfix1100: IDataModel
6666
[DBFieldName("VerifiedBuild")]
6767
public int? VerifiedBuild = ClientVersion.BuildInt;
6868
}
69+
70+
[Hotfix]
71+
[DBTableName("broadcast_text")]
72+
public sealed record BroadcastTextHotfix1107 : IDataModel
73+
{
74+
[DBFieldName("Text")]
75+
public string Text;
76+
77+
[DBFieldName("Text1")]
78+
public string Text1;
79+
80+
[DBFieldName("ID", true)]
81+
public uint? ID;
82+
83+
[DBFieldName("LanguageID")]
84+
public int? LanguageID;
85+
86+
[DBFieldName("ConditionID")]
87+
public int? ConditionID;
88+
89+
[DBFieldName("EmotesID")]
90+
public ushort? EmotesID;
91+
92+
[DBFieldName("Flags")]
93+
public ushort? Flags;
94+
95+
[DBFieldName("ChatBubbleDurationMs")]
96+
public uint? ChatBubbleDurationMs;
97+
98+
[DBFieldName("VoiceOverPriorityID")]
99+
public int? VoiceOverPriorityID;
100+
101+
[DBFieldName("SoundKitID", 2)]
102+
public uint?[] SoundKitID;
103+
104+
[DBFieldName("EmoteID", 3)]
105+
public ushort?[] EmoteID;
106+
107+
[DBFieldName("EmoteDelay", 3)]
108+
public ushort?[] EmoteDelay;
109+
110+
[DBFieldName("VerifiedBuild")]
111+
public int? VerifiedBuild = ClientVersion.BuildInt;
112+
}
113+
114+
[Hotfix]
115+
[DBTableName("broadcast_text_locale")]
116+
public sealed record BroadcastTextLocaleHotfix1107 : IDataModel
117+
{
118+
[DBFieldName("ID", true)]
119+
public uint? ID;
120+
121+
[DBFieldName("locale", true)]
122+
public string Locale = ClientLocale.PacketLocaleString;
123+
124+
[DBFieldName("Text_lang")]
125+
public string TextLang;
126+
127+
[DBFieldName("Text1_lang")]
128+
public string Text1Lang;
129+
130+
[DBFieldName("VerifiedBuild")]
131+
public int? VerifiedBuild = ClientVersion.BuildInt;
132+
}
69133
}

WowPacketParser/Store/Objects/Hotfixes/11_X_X/LfgDungeonsHotfix.cs

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,134 @@ public sealed record LfgDungeonsLocaleHotfix1105 : IDataModel
241241
[DBFieldName("VerifiedBuild")]
242242
public int? VerifiedBuild = ClientVersion.BuildInt;
243243
}
244+
245+
[Hotfix]
246+
[DBTableName("lfg_dungeons")]
247+
public sealed record LfgDungeonsHotfix1107 : IDataModel
248+
{
249+
[DBFieldName("ID", true)]
250+
public uint? ID;
251+
252+
[DBFieldName("Name")]
253+
public string Name;
254+
255+
[DBFieldName("Description")]
256+
public string Description;
257+
258+
[DBFieldName("TypeID")]
259+
public byte? TypeID;
260+
261+
[DBFieldName("Subtype")]
262+
public byte? Subtype;
263+
264+
[DBFieldName("Faction")]
265+
public sbyte? Faction;
266+
267+
[DBFieldName("IconTextureFileID")]
268+
public int? IconTextureFileID;
269+
270+
[DBFieldName("RewardsBgTextureFileID")]
271+
public int? RewardsBgTextureFileID;
272+
273+
[DBFieldName("PopupBgTextureFileID")]
274+
public int? PopupBgTextureFileID;
275+
276+
[DBFieldName("ExpansionLevel")]
277+
public byte? ExpansionLevel;
278+
279+
[DBFieldName("MapID")]
280+
public short? MapID;
281+
282+
[DBFieldName("DifficultyID")]
283+
public byte? DifficultyID;
284+
285+
[DBFieldName("MinGear")]
286+
public float? MinGear;
287+
288+
[DBFieldName("GroupID")]
289+
public byte? GroupID;
290+
291+
[DBFieldName("OrderIndex")]
292+
public byte? OrderIndex;
293+
294+
[DBFieldName("RequiredPlayerConditionId")]
295+
public uint? RequiredPlayerConditionId;
296+
297+
[DBFieldName("RandomID")]
298+
public ushort? RandomID;
299+
300+
[DBFieldName("ScenarioID")]
301+
public ushort? ScenarioID;
302+
303+
[DBFieldName("FinalEncounterID")]
304+
public ushort? FinalEncounterID;
305+
306+
[DBFieldName("CountTank")]
307+
public byte? CountTank;
308+
309+
[DBFieldName("CountHealer")]
310+
public byte? CountHealer;
311+
312+
[DBFieldName("CountDamage")]
313+
public byte? CountDamage;
314+
315+
[DBFieldName("MinCountTank")]
316+
public byte? MinCountTank;
317+
318+
[DBFieldName("MinCountHealer")]
319+
public byte? MinCountHealer;
320+
321+
[DBFieldName("MinCountDamage")]
322+
public byte? MinCountDamage;
323+
324+
[DBFieldName("MaxPremadeCountTank")]
325+
public byte? MaxPremadeCountTank;
326+
327+
[DBFieldName("MaxPremadeCountHealer")]
328+
public byte? MaxPremadeCountHealer;
329+
330+
[DBFieldName("MaxPremadeCountDamage")]
331+
public byte? MaxPremadeCountDamage;
332+
333+
[DBFieldName("BonusReputationAmount")]
334+
public ushort? BonusReputationAmount;
335+
336+
[DBFieldName("MentorItemLevel")]
337+
public ushort? MentorItemLevel;
338+
339+
[DBFieldName("MentorCharLevel")]
340+
public byte? MentorCharLevel;
341+
342+
[DBFieldName("MaxPremadeGroupSize")]
343+
public byte? MaxPremadeGroupSize;
344+
345+
[DBFieldName("ContentTuningID")]
346+
public int? ContentTuningID;
347+
348+
[DBFieldName("Flags", 2)]
349+
public int?[] Flags;
350+
351+
[DBFieldName("VerifiedBuild")]
352+
public int? VerifiedBuild = ClientVersion.BuildInt;
353+
}
354+
355+
[Hotfix]
356+
[DBTableName("lfg_dungeons_locale")]
357+
public sealed record LfgDungeonsLocaleHotfix1107 : IDataModel
358+
{
359+
[DBFieldName("ID", true)]
360+
public uint? ID;
361+
362+
[DBFieldName("locale", true)]
363+
public string Locale = ClientLocale.PacketLocaleString;
364+
365+
[DBFieldName("Name_lang")]
366+
public string NameLang;
367+
368+
[DBFieldName("Description_lang")]
369+
public string DescriptionLang;
370+
371+
[DBFieldName("VerifiedBuild")]
372+
public int? VerifiedBuild = ClientVersion.BuildInt;
373+
}
244374
}

0 commit comments

Comments
 (0)