Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all sod versions that are missing #893

Merged
merged 5 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions WowPacketParser/Enums/ClientVersionBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,32 @@ public enum ClientVersionBuild
V1_14_4_51535 = 51535, // live

V1_15_0_52302 = 52302, // live
V1_15_0_52409 = 52409, // live
V1_15_0_52610 = 52610, // live

V1_15_1_53247 = 53247, // live
V1_15_1_53495 = 53495, // live
V1_15_1_53623 = 53623, // live

V1_15_2_54262 = 54262, // live
V1_15_2_54332 = 54332, // live
V1_15_2_54649 = 54649, // live
V1_15_2_54902 = 54902, // live
V1_15_2_55002 = 55002, // live
V1_15_2_55140 = 55140, // live

V1_15_3_55515 = 55515, // live
V1_15_3_55563 = 55563, // live
V1_15_3_55646 = 55646, // live
V1_15_3_55917 = 55917, // live
V1_15_3_55488 = 55488, // live
V1_15_3_55626 = 55626, // live

V1_15_4_56738 = 56738, // live
V1_15_4_56760 = 56760, // live
V1_15_4_56817 = 56817, // live
V1_15_4_56857 = 56857, // live
V1_15_4_57134 = 57134, // live

// TBC Classic
V2_5_1_38598 = 38598, // ptr
Expand Down
22 changes: 22 additions & 0 deletions WowPacketParser/Enums/Version/Opcodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
using WowPacketParser.Enums.Version.V11_0_2_55959;
using WowPacketParser.Enums.Version.V11_0_5_57171;
using WowPacketParser.Misc;
using WowPacketParser.Enums.Version.V1_15_4_56738;

namespace WowPacketParser.Enums.Version
{
Expand Down Expand Up @@ -938,10 +939,23 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
case ClientVersionBuild.V3_4_3_54261:
return ClientVersionBuild.V3_4_3_51666;
case ClientVersionBuild.V1_15_0_52302: // inherits from above
case ClientVersionBuild.V1_15_0_52409:
case ClientVersionBuild.V1_15_0_52610:
case ClientVersionBuild.V1_15_1_53247:
case ClientVersionBuild.V1_15_1_53495:
case ClientVersionBuild.V1_15_1_53623:
case ClientVersionBuild.V1_15_2_54262:
case ClientVersionBuild.V1_15_2_54332:
case ClientVersionBuild.V1_15_2_54649:
case ClientVersionBuild.V1_15_2_54902:
case ClientVersionBuild.V1_15_2_55002:
case ClientVersionBuild.V1_15_2_55140:
case ClientVersionBuild.V1_15_3_55515:
case ClientVersionBuild.V1_15_3_55563:
case ClientVersionBuild.V1_15_3_55646:
case ClientVersionBuild.V1_15_3_55917:
case ClientVersionBuild.V1_15_3_55488:
case ClientVersionBuild.V1_15_3_55626:
return ClientVersionBuild.V1_15_0_52302;
case ClientVersionBuild.V4_4_0_54481:
case ClientVersionBuild.V4_4_0_54500:
Expand All @@ -965,6 +979,12 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
case ClientVersionBuild.V4_4_0_56713:
case ClientVersionBuild.V4_4_0_57244:
return ClientVersionBuild.V4_4_0_54481;
case ClientVersionBuild.V1_15_4_56738: // inherits from above
case ClientVersionBuild.V1_15_4_56760:
case ClientVersionBuild.V1_15_4_56817:
case ClientVersionBuild.V1_15_4_56857:
case ClientVersionBuild.V1_15_4_57134:
return ClientVersionBuild.V1_15_4_56738;
case ClientVersionBuild.V4_4_1_57294:
return ClientVersionBuild.V4_4_1_57294;
default:
Expand Down Expand Up @@ -1126,6 +1146,8 @@ public static BiDictionary<Opcode, int> GetOpcodeDictionary(ClientVersionBuild b
return Opcodes_1_14_4.Opcodes(direction);
case ClientVersionBuild.V1_15_0_52302:
return Opcodes_1_15_0.Opcodes(direction);
case ClientVersionBuild.V1_15_4_56738:
return Opcodes_1_15_4.Opcodes(direction);
case ClientVersionBuild.V2_5_1_38835:
return Opcodes_2_5_1.Opcodes(direction);
case ClientVersionBuild.V2_5_2_39570:
Expand Down
21 changes: 21 additions & 0 deletions WowPacketParser/Enums/Version/UpdateFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,13 +1032,34 @@ private static string GetUpdateFieldDictionaryBuildName(ClientVersionBuild build
return "V1_14_4_51146";
}
case ClientVersionBuild.V1_15_0_52302:
case ClientVersionBuild.V1_15_0_52409:
case ClientVersionBuild.V1_15_0_52610:
case ClientVersionBuild.V1_15_1_53247:
case ClientVersionBuild.V1_15_1_53495:
case ClientVersionBuild.V1_15_1_53623:
case ClientVersionBuild.V1_15_2_54262:
case ClientVersionBuild.V1_15_2_54332:
case ClientVersionBuild.V1_15_2_54649:
case ClientVersionBuild.V1_15_2_54902:
case ClientVersionBuild.V1_15_2_55002:
case ClientVersionBuild.V1_15_2_55140:
case ClientVersionBuild.V1_15_3_55515:
case ClientVersionBuild.V1_15_3_55563:
case ClientVersionBuild.V1_15_3_55646:
case ClientVersionBuild.V1_15_3_55917:
case ClientVersionBuild.V1_15_3_55488:
case ClientVersionBuild.V1_15_3_55626:
{
return "V1_15_0_52302";
}
case ClientVersionBuild.V1_15_4_56738:
case ClientVersionBuild.V1_15_4_56760:
case ClientVersionBuild.V1_15_4_56817:
case ClientVersionBuild.V1_15_4_56857:
case ClientVersionBuild.V1_15_4_57134:
{
return "V1_15_4_56738";
}
case ClientVersionBuild.V2_5_1_38598:
case ClientVersionBuild.V2_5_1_38644:
case ClientVersionBuild.V2_5_1_38707:
Expand Down
Loading
Loading