Skip to content

Commit ff5091f

Browse files
committed
Add 5.5.2 basic support
1 parent 5fd245d commit ff5091f

File tree

6 files changed

+1814
-0
lines changed

6 files changed

+1814
-0
lines changed

WowPacketParser/Enums/ClientVersionBuild.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,10 @@ public enum ClientVersionBuild
10121012
V5_5_1_63538 = 63538, // both live and ptr
10131013
V5_5_1_63698 = 63698, // live
10141014

1015+
V5_5_2_64068 = 64068, // both live and ptr
1016+
V5_5_2_64133 = 64133, // live
1017+
V5_5_2_64271 = 64271, // live
1018+
10151019
// Battle.net - should probably not mix this but oh well
10161020
BattleNetV37165 = 37165,
10171021

WowPacketParser/Enums/Opcode.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ public enum Opcode
217217
CMSG_CAN_DUEL,
218218
CMSG_CAN_REDEEM_TOKEN_FOR_BALANCE,
219219
CMSG_CAST_SPELL,
220+
CMSG_CHALLENGE_MODE_REQUEST_LEADERBOARD,
220221
CMSG_CHALLENGE_MODE_REQUEST_LEADERS,
221222
CMSG_CHALLENGE_MODE_REQUEST_MAP_STATS,
222223
CMSG_CHANGEPLAYER_DIFFICULTY,
@@ -1887,6 +1888,7 @@ public enum Opcode
18871888
SMSG_CHALLENGE_MODE_DELETE_LEADER_RESULT,
18881889
SMSG_CHALLENGE_MODE_MAP_STATS_UPDATE,
18891890
SMSG_CHALLENGE_MODE_NEW_PLAYER_RECORD,
1891+
SMSG_CHALLENGE_MODE_REQUEST_LEADERBOARD_RESULT,
18901892
SMSG_CHALLENGE_MODE_REQUEST_LEADERS_RESULT,
18911893
SMSG_CHALLENGE_MODE_RESET,
18921894
SMSG_CHALLENGE_MODE_REWARDS,

WowPacketParser/Enums/Version/Opcodes.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
using WowPacketParser.Enums.Version.V5_4_8_18291;
5050
using WowPacketParser.Enums.Version.V5_5_0_61735;
5151
using WowPacketParser.Enums.Version.V5_5_1_63311;
52+
using WowPacketParser.Enums.Version.V5_5_2_64068;
5253
using WowPacketParser.Enums.Version.V6_0_2_19033;
5354
using WowPacketParser.Enums.Version.V6_0_3_19103;
5455
using WowPacketParser.Enums.Version.V6_1_0_19678;
@@ -1180,6 +1181,10 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
11801181
case ClientVersionBuild.V5_5_1_63538:
11811182
case ClientVersionBuild.V5_5_1_63698:
11821183
return ClientVersionBuild.V5_5_1_63311;
1184+
case ClientVersionBuild.V5_5_2_64068:
1185+
case ClientVersionBuild.V5_5_2_64133:
1186+
case ClientVersionBuild.V5_5_2_64271:
1187+
return ClientVersionBuild.V5_5_2_64068;
11831188
default:
11841189
return ClientVersionBuild.V3_3_5a_12340;
11851190
}
@@ -1393,6 +1398,8 @@ public static BiDictionary<Opcode, int> GetOpcodeDictionary(ClientVersionBuild b
13931398
return Opcodes_5_5_0.Opcodes(direction);
13941399
case ClientVersionBuild.V5_5_1_63311:
13951400
return Opcodes_5_5_1.Opcodes(direction);
1401+
case ClientVersionBuild.V5_5_2_64068:
1402+
return Opcodes_5_5_2.Opcodes(direction);
13961403
default:
13971404
return Opcodes_3_3_5.Opcodes(direction);
13981405
}

WowPacketParser/Enums/Version/UpdateFields.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,12 @@ private static string GetUpdateFieldDictionaryBuildName(ClientVersionBuild build
14181418
{
14191419
return "V5_5_1_63311";
14201420
}
1421+
case ClientVersionBuild.V5_5_2_64068:
1422+
case ClientVersionBuild.V5_5_2_64133:
1423+
case ClientVersionBuild.V5_5_2_64271:
1424+
{
1425+
return "V5_5_2_64068";
1426+
}
14211427
default:
14221428
{
14231429
return "V3_3_5a_12340";

0 commit comments

Comments
 (0)