Skip to content

Commit ea494ff

Browse files
committed
Update hotfixes parsing to 12.1.0
1 parent 705902b commit ea494ff

11 files changed

Lines changed: 1347 additions & 8 deletions

File tree

WowPacketParser/SQL/Builders/HotfixBuilder.cs

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6736,6 +6736,13 @@ public static string Hotfixes()
67366736
sql += SQLUtil.Compare(Storage.CriteriaHotfixes1200, hotfixes, StoreNameType.None);
67376737
}
67386738

6739+
if (!Storage.CriteriaHotfixes1210.IsEmpty())
6740+
{
6741+
var hotfixes = SQLDatabase.Get(Storage.CriteriaHotfixes1210, Settings.HotfixesDatabase);
6742+
6743+
sql += SQLUtil.Compare(Storage.CriteriaHotfixes1210, hotfixes, StoreNameType.None);
6744+
}
6745+
67396746
if (!Storage.CriteriaTreeHotfixes1200.IsEmpty())
67406747
{
67416748
var hotfixes = SQLDatabase.Get(Storage.CriteriaTreeHotfixes1200, Settings.HotfixesDatabase);
@@ -6932,13 +6939,27 @@ public static string Hotfixes()
69326939
sql += SQLUtil.Compare(Storage.GameobjectsHotfixes1200, hotfixes, StoreNameType.None);
69336940
}
69346941

6942+
if (!Storage.GameobjectsHotfixes1210.IsEmpty())
6943+
{
6944+
var hotfixes = SQLDatabase.Get(Storage.GameobjectsHotfixes1210, Settings.HotfixesDatabase);
6945+
6946+
sql += SQLUtil.Compare(Storage.GameobjectsHotfixes1210, hotfixes, StoreNameType.None);
6947+
}
6948+
69356949
if (!Storage.GarrAbilityHotfixes1200.IsEmpty())
69366950
{
69376951
var hotfixes = SQLDatabase.Get(Storage.GarrAbilityHotfixes1200, Settings.HotfixesDatabase);
69386952

69396953
sql += SQLUtil.Compare(Storage.GarrAbilityHotfixes1200, hotfixes, StoreNameType.None);
69406954
}
69416955

6956+
if (!Storage.GarrAbilityHotfixes1210.IsEmpty())
6957+
{
6958+
var hotfixes = SQLDatabase.Get(Storage.GarrAbilityHotfixes1210, Settings.HotfixesDatabase);
6959+
6960+
sql += SQLUtil.Compare(Storage.GarrAbilityHotfixes1210, hotfixes, StoreNameType.None);
6961+
}
6962+
69426963
if (!Storage.GarrBuildingHotfixes1200.IsEmpty())
69436964
{
69446965
var hotfixes = SQLDatabase.Get(Storage.GarrBuildingHotfixes1200, Settings.HotfixesDatabase);
@@ -6967,6 +6988,13 @@ public static string Hotfixes()
69676988
sql += SQLUtil.Compare(Storage.GarrFollowerHotfixes1200, hotfixes, StoreNameType.None);
69686989
}
69696990

6991+
if (!Storage.GarrFollowerHotfixes1210.IsEmpty())
6992+
{
6993+
var hotfixes = SQLDatabase.Get(Storage.GarrFollowerHotfixes1210, Settings.HotfixesDatabase);
6994+
6995+
sql += SQLUtil.Compare(Storage.GarrFollowerHotfixes1210, hotfixes, StoreNameType.None);
6996+
}
6997+
69706998
if (!Storage.GarrFollowerXAbilityHotfixes1200.IsEmpty())
69716999
{
69727000
var hotfixes = SQLDatabase.Get(Storage.GarrFollowerXAbilityHotfixes1200, Settings.HotfixesDatabase);
@@ -6981,6 +7009,13 @@ public static string Hotfixes()
69817009
sql += SQLUtil.Compare(Storage.GarrMissionHotfixes1200, hotfixes, StoreNameType.None);
69827010
}
69837011

7012+
if (!Storage.GarrMissionHotfixes1210.IsEmpty())
7013+
{
7014+
var hotfixes = SQLDatabase.Get(Storage.GarrMissionHotfixes1210, Settings.HotfixesDatabase);
7015+
7016+
sql += SQLUtil.Compare(Storage.GarrMissionHotfixes1210, hotfixes, StoreNameType.None);
7017+
}
7018+
69847019
if (!Storage.GarrPlotHotfixes1200.IsEmpty())
69857020
{
69867021
var hotfixes = SQLDatabase.Get(Storage.GarrPlotHotfixes1200, Settings.HotfixesDatabase);
@@ -7065,6 +7100,13 @@ public static string Hotfixes()
70657100
sql += SQLUtil.Compare(Storage.GossipNPCOptionHotfixes1200, hotfixes, StoreNameType.None);
70667101
}
70677102

7103+
if (!Storage.GossipNPCOptionHotfixes1210.IsEmpty())
7104+
{
7105+
var hotfixes = SQLDatabase.Get(Storage.GossipNPCOptionHotfixes1210, Settings.HotfixesDatabase);
7106+
7107+
sql += SQLUtil.Compare(Storage.GossipNPCOptionHotfixes1210, hotfixes, StoreNameType.None);
7108+
}
7109+
70687110
if (!Storage.GuildColorBackgroundHotfixes1200.IsEmpty())
70697111
{
70707112
var hotfixes = SQLDatabase.Get(Storage.GuildColorBackgroundHotfixes1200, Settings.HotfixesDatabase);
@@ -7807,6 +7849,13 @@ public static string Hotfixes()
78077849
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixes1207, hotfixes, StoreNameType.None);
78087850
}
78097851

7852+
if (!Storage.PlayerConditionHotfixes1210.IsEmpty())
7853+
{
7854+
var hotfixes = SQLDatabase.Get(Storage.PlayerConditionHotfixes1210, Settings.HotfixesDatabase);
7855+
7856+
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixes1210, hotfixes, StoreNameType.None);
7857+
}
7858+
78107859
if (!Storage.PlayerDataElementAccountHotfixes1200.IsEmpty())
78117860
{
78127861
var hotfixes = SQLDatabase.Get(Storage.PlayerDataElementAccountHotfixes1200, Settings.HotfixesDatabase);
@@ -8178,6 +8227,13 @@ public static string Hotfixes()
81788227
sql += SQLUtil.Compare(Storage.SpellClassOptionsHotfixes1200, hotfixes, StoreNameType.None);
81798228
}
81808229

8230+
if (!Storage.SpellClassOptionsHotfixes1210.IsEmpty())
8231+
{
8232+
var hotfixes = SQLDatabase.Get(Storage.SpellClassOptionsHotfixes1210, Settings.HotfixesDatabase);
8233+
8234+
sql += SQLUtil.Compare(Storage.SpellClassOptionsHotfixes1210, hotfixes, StoreNameType.None);
8235+
}
8236+
81818237
if (!Storage.SpellCooldownsHotfixes1200.IsEmpty())
81828238
{
81838239
var hotfixes = SQLDatabase.Get(Storage.SpellCooldownsHotfixes1200, Settings.HotfixesDatabase);
@@ -15690,13 +15746,27 @@ public static string Hotfixes()
1569015746
sql += SQLUtil.Compare(Storage.GameobjectsHotfixesLocale1200, hotfixes, StoreNameType.None);
1569115747
}
1569215748

15749+
if (!Storage.GameobjectsHotfixesLocale1210.IsEmpty())
15750+
{
15751+
var hotfixes = SQLDatabase.Get(Storage.GameobjectsHotfixesLocale1210, Settings.HotfixesDatabase);
15752+
15753+
sql += SQLUtil.Compare(Storage.GameobjectsHotfixesLocale1210, hotfixes, StoreNameType.None);
15754+
}
15755+
1569315756
if (!Storage.GarrAbilityHotfixesLocale1200.IsEmpty())
1569415757
{
1569515758
var hotfixes = SQLDatabase.Get(Storage.GarrAbilityHotfixesLocale1200, Settings.HotfixesDatabase);
1569615759

1569715760
sql += SQLUtil.Compare(Storage.GarrAbilityHotfixesLocale1200, hotfixes, StoreNameType.None);
1569815761
}
1569915762

15763+
if (!Storage.GarrAbilityHotfixesLocale1210.IsEmpty())
15764+
{
15765+
var hotfixes = SQLDatabase.Get(Storage.GarrAbilityHotfixesLocale1210, Settings.HotfixesDatabase);
15766+
15767+
sql += SQLUtil.Compare(Storage.GarrAbilityHotfixesLocale1210, hotfixes, StoreNameType.None);
15768+
}
15769+
1570015770
if (!Storage.GarrBuildingHotfixesLocale1200.IsEmpty())
1570115771
{
1570215772
var hotfixes = SQLDatabase.Get(Storage.GarrBuildingHotfixesLocale1200, Settings.HotfixesDatabase);
@@ -15718,13 +15788,27 @@ public static string Hotfixes()
1571815788
sql += SQLUtil.Compare(Storage.GarrFollowerHotfixesLocale1200, hotfixes, StoreNameType.None);
1571915789
}
1572015790

15791+
if (!Storage.GarrFollowerHotfixesLocale1210.IsEmpty())
15792+
{
15793+
var hotfixes = SQLDatabase.Get(Storage.GarrFollowerHotfixesLocale1210, Settings.HotfixesDatabase);
15794+
15795+
sql += SQLUtil.Compare(Storage.GarrFollowerHotfixesLocale1210, hotfixes, StoreNameType.None);
15796+
}
15797+
1572115798
if (!Storage.GarrMissionHotfixesLocale1200.IsEmpty())
1572215799
{
1572315800
var hotfixes = SQLDatabase.Get(Storage.GarrMissionHotfixesLocale1200, Settings.HotfixesDatabase);
1572415801

1572515802
sql += SQLUtil.Compare(Storage.GarrMissionHotfixesLocale1200, hotfixes, StoreNameType.None);
1572615803
}
1572715804

15805+
if (!Storage.GarrMissionHotfixesLocale1210.IsEmpty())
15806+
{
15807+
var hotfixes = SQLDatabase.Get(Storage.GarrMissionHotfixesLocale1210, Settings.HotfixesDatabase);
15808+
15809+
sql += SQLUtil.Compare(Storage.GarrMissionHotfixesLocale1210, hotfixes, StoreNameType.None);
15810+
}
15811+
1572815812
if (!Storage.GarrTalentTreeHotfixesLocale1200.IsEmpty())
1572915813
{
1573015814
var hotfixes = SQLDatabase.Get(Storage.GarrTalentTreeHotfixesLocale1200, Settings.HotfixesDatabase);
@@ -15942,6 +16026,13 @@ public static string Hotfixes()
1594216026
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixesLocale1207, hotfixes, StoreNameType.None);
1594316027
}
1594416028

16029+
if (!Storage.PlayerConditionHotfixesLocale1210.IsEmpty())
16030+
{
16031+
var hotfixes = SQLDatabase.Get(Storage.PlayerConditionHotfixesLocale1210, Settings.HotfixesDatabase);
16032+
16033+
sql += SQLUtil.Compare(Storage.PlayerConditionHotfixesLocale1210, hotfixes, StoreNameType.None);
16034+
}
16035+
1594516036
if (!Storage.PrestigeLevelInfoHotfixesLocale1200.IsEmpty())
1594616037
{
1594716038
var hotfixes = SQLDatabase.Get(Storage.PrestigeLevelInfoHotfixesLocale1200, Settings.HotfixesDatabase);

WowPacketParser/Store/Objects/Hotfixes/12_X_X/CriteriaHotfix.cs

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,48 @@ public sealed record CriteriaHotfix1200 : IDataModel
4646
[DBFieldName("VerifiedBuild")]
4747
public int? VerifiedBuild = ClientVersion.BuildInt;
4848
}
49+
50+
[Hotfix]
51+
[DBTableName("criteria")]
52+
public sealed record CriteriaHotfix1210 : IDataModel
53+
{
54+
[DBFieldName("ID", true)]
55+
public uint? ID;
56+
57+
[DBFieldName("Type")]
58+
public short? Type;
59+
60+
[DBFieldName("Asset")]
61+
public int? Asset;
62+
63+
[DBFieldName("ModifierTreeId")]
64+
public int? ModifierTreeId;
65+
66+
[DBFieldName("StartEvent")]
67+
public int? StartEvent;
68+
69+
[DBFieldName("StartAsset")]
70+
public int? StartAsset;
71+
72+
[DBFieldName("StartTimer")]
73+
public int? StartTimer;
74+
75+
[DBFieldName("FailEvent")]
76+
public int? FailEvent;
77+
78+
[DBFieldName("FailAsset")]
79+
public int? FailAsset;
80+
81+
[DBFieldName("Flags")]
82+
public int? Flags;
83+
84+
[DBFieldName("EligibilityWorldStateID")]
85+
public int? EligibilityWorldStateID;
86+
87+
[DBFieldName("EligibilityWorldStateValue")]
88+
public int? EligibilityWorldStateValue;
89+
90+
[DBFieldName("VerifiedBuild")]
91+
public int? VerifiedBuild = ClientVersion.BuildInt;
92+
}
4993
}

WowPacketParser/Store/Objects/Hotfixes/12_X_X/GameobjectsHotfix.cs

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,77 @@ public sealed record GameobjectsLocaleHotfix1200: IDataModel
7272
[DBFieldName("VerifiedBuild")]
7373
public int? VerifiedBuild = ClientVersion.BuildInt;
7474
}
75+
76+
[Hotfix]
77+
[DBTableName("gameobjects")]
78+
public sealed record GameobjectsHotfix1210: IDataModel
79+
{
80+
[DBFieldName("Name")]
81+
public string Name;
82+
83+
[DBFieldName("PosX")]
84+
public float? PosX;
85+
86+
[DBFieldName("PosY")]
87+
public float? PosY;
88+
89+
[DBFieldName("PosZ")]
90+
public float? PosZ;
91+
92+
[DBFieldName("Rot", 4)]
93+
public float?[] Rot;
94+
95+
[DBFieldName("ID", true)]
96+
public uint? ID;
97+
98+
[DBFieldName("OwnerID")]
99+
public uint? OwnerID;
100+
101+
[DBFieldName("DisplayID")]
102+
public int? DisplayID;
103+
104+
[DBFieldName("Flags")]
105+
public int? Flags;
106+
107+
[DBFieldName("Scale")]
108+
public float? Scale;
109+
110+
[DBFieldName("TypeID")]
111+
public int? TypeID;
112+
113+
[DBFieldName("PhaseUseFlags")]
114+
public int? PhaseUseFlags;
115+
116+
[DBFieldName("PhaseID")]
117+
public int? PhaseID;
118+
119+
[DBFieldName("PhaseGroupID")]
120+
public int? PhaseGroupID;
121+
122+
[DBFieldName("Unknown1100")]
123+
public ushort? Unknown1100;
124+
125+
[DBFieldName("PropValue", 8)]
126+
public int?[] PropValue;
127+
128+
[DBFieldName("VerifiedBuild")]
129+
public int? VerifiedBuild = ClientVersion.BuildInt;
130+
}
131+
132+
[Hotfix]
133+
[DBTableName("gameobjects_locale")]
134+
public sealed record GameobjectsLocaleHotfix1210: IDataModel
135+
{
136+
[DBFieldName("ID", true)]
137+
public uint? ID;
138+
139+
[DBFieldName("locale", true)]
140+
public string Locale = ClientLocale.PacketLocaleString;
141+
142+
[DBFieldName("Name_lang")]
143+
public string NameLang;
144+
145+
[DBFieldName("VerifiedBuild")]
146+
public int? VerifiedBuild = ClientVersion.BuildInt;
147+
}
75148
}

WowPacketParser/Store/Objects/Hotfixes/12_X_X/GarrAbilityHotfix.cs

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,56 @@ public sealed record GarrAbilityLocaleHotfix1200: IDataModel
5454
[DBFieldName("VerifiedBuild")]
5555
public int? VerifiedBuild = ClientVersion.BuildInt;
5656
}
57+
58+
[Hotfix]
59+
[DBTableName("garr_ability")]
60+
public sealed record GarrAbilityHotfix1210: IDataModel
61+
{
62+
[DBFieldName("ID", true)]
63+
public uint? ID;
64+
65+
[DBFieldName("Name")]
66+
public string Name;
67+
68+
[DBFieldName("Description")]
69+
public string Description;
70+
71+
[DBFieldName("GarrAbilityCategoryID")]
72+
public byte? GarrAbilityCategoryID;
73+
74+
[DBFieldName("GarrFollowerTypeID")]
75+
public byte? GarrFollowerTypeID;
76+
77+
[DBFieldName("IconFileDataID")]
78+
public int? IconFileDataID;
79+
80+
[DBFieldName("FactionChangeGarrAbilityID")]
81+
public ushort? FactionChangeGarrAbilityID;
82+
83+
[DBFieldName("Flags")]
84+
public int? Flags;
85+
86+
[DBFieldName("VerifiedBuild")]
87+
public int? VerifiedBuild = ClientVersion.BuildInt;
88+
}
89+
90+
[Hotfix]
91+
[DBTableName("garr_ability_locale")]
92+
public sealed record GarrAbilityLocaleHotfix1210: IDataModel
93+
{
94+
[DBFieldName("ID", true)]
95+
public uint? ID;
96+
97+
[DBFieldName("locale", true)]
98+
public string Locale = ClientLocale.PacketLocaleString;
99+
100+
[DBFieldName("Name_lang")]
101+
public string NameLang;
102+
103+
[DBFieldName("Description_lang")]
104+
public string DescriptionLang;
105+
106+
[DBFieldName("VerifiedBuild")]
107+
public int? VerifiedBuild = ClientVersion.BuildInt;
108+
}
57109
}

0 commit comments

Comments
 (0)