Skip to content

Commit

Permalink
10.2.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed May 8, 2024
1 parent a4be377 commit 4887b95
Show file tree
Hide file tree
Showing 70 changed files with 9,578 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WowPacketParser/Enums/ClientVersionBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,10 @@ public enum ClientVersionBuild
V10_2_6_54358 = 54358,
V10_2_6_54499 = 54499,

V10_2_7_54577 = 54577,
V10_2_7_54601 = 54601,
V10_2_7_54604 = 54604,

// Classic
V1_13_2_31446 = 31446,
V1_13_2_31650 = 31650,
Expand Down
3 changes: 3 additions & 0 deletions WowPacketParser/Enums/Opcode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ public enum Opcode
CMSG_PARTY_UNSILENCE,
CMSG_PERFORM_ACTION_SET,
CMSG_PERFORM_ITEM_INTERACTION,
CMSG_PERKS_PROGRAM_ITEMS_REFRESHED,
CMSG_PERKS_PROGRAM_REQUEST_PENDING_REWARDS,
CMSG_PERKS_PROGRAM_REQUEST_PURCHASE,
CMSG_PERKS_PROGRAM_REQUEST_REFUND,
Expand All @@ -930,6 +931,7 @@ public enum Opcode
CMSG_PETITION_SHOW_SIGNATURES,
CMSG_PETITION_SIGN,
CMSG_PET_ABANDON,
CMSG_PET_ABANDON_BY_NUMBER,
CMSG_PET_ACTION,
CMSG_PET_BATTLE_FINAL_NOTIFY,
CMSG_PET_BATTLE_INPUT,
Expand Down Expand Up @@ -1189,6 +1191,7 @@ public enum Opcode
CMSG_SET_PAID_SERVICE_CHEAT,
CMSG_SET_PARTY_ASSIGNMENT,
CMSG_SET_PARTY_LEADER,
CMSG_SET_PET_FAVORITE,
CMSG_SET_PET_SLOT,
CMSG_SET_PLAYER_DECLINED_NAMES,
CMSG_SET_PREFERRED_CEMETERY,
Expand Down
7 changes: 7 additions & 0 deletions WowPacketParser/Enums/Version/Opcodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
using WowPacketParser.Enums.Version.V10_1_7_51187;
using WowPacketParser.Enums.Version.V10_2_0_52038;
using WowPacketParser.Enums.Version.V10_2_6_53840;
using WowPacketParser.Enums.Version.V10_2_7_54577;
using WowPacketParser.Misc;

namespace WowPacketParser.Enums.Version
Expand Down Expand Up @@ -684,6 +685,10 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
case ClientVersionBuild.V10_2_6_54358:
case ClientVersionBuild.V10_2_6_54499:
return ClientVersionBuild.V10_2_6_53840;
case ClientVersionBuild.V10_2_7_54577:
case ClientVersionBuild.V10_2_7_54601:
case ClientVersionBuild.V10_2_7_54604:
return ClientVersionBuild.V10_2_7_54577;
case ClientVersionBuild.V1_13_2_31446:
case ClientVersionBuild.V1_13_2_31650:
case ClientVersionBuild.V1_13_2_31687:
Expand Down Expand Up @@ -1030,6 +1035,8 @@ public static BiDictionary<Opcode, int> GetOpcodeDictionary(ClientVersionBuild b
return Opcodes_10_2_0.Opcodes(direction);
case ClientVersionBuild.V10_2_6_53840:
return Opcodes_10_2_6.Opcodes(direction);
case ClientVersionBuild.V10_2_7_54577:
return Opcodes_10_2_7.Opcodes(direction);

case ClientVersionBuild.V1_13_2_31446:
return Opcodes_1_13_2.Opcodes(direction);
Expand Down
6 changes: 6 additions & 0 deletions WowPacketParser/Enums/Version/UpdateFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,12 @@ private static string GetUpdateFieldDictionaryBuildName(ClientVersionBuild build
{
return "V10_2_6_53840";
}
case ClientVersionBuild.V10_2_7_54577:
case ClientVersionBuild.V10_2_7_54601:
case ClientVersionBuild.V10_2_7_54604:
{
return "V10_2_7_54577";
}
case ClientVersionBuild.V1_13_2_31446:
case ClientVersionBuild.V1_13_2_31650:
case ClientVersionBuild.V1_13_2_31687:
Expand Down
2,087 changes: 2,087 additions & 0 deletions WowPacketParser/Enums/Version/V10_2_7_54577/Opcodes.cs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions WowPacketParser/Misc/ClientVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ public static class ClientVersion
new KeyValuePair<ClientVersionBuild, DateTime>(ClientVersionBuild.V10_2_6_54358, new DateTime(2024, 04, 22)),
new KeyValuePair<ClientVersionBuild, DateTime>(ClientVersionBuild.V10_2_6_54499, new DateTime(2024, 05, 01)),

new KeyValuePair<ClientVersionBuild, DateTime>(ClientVersionBuild.V10_2_7_54577, new DateTime(2024, 05, 07)),
new KeyValuePair<ClientVersionBuild, DateTime>(ClientVersionBuild.V10_2_7_54601, new DateTime(2024, 05, 08)),
new KeyValuePair<ClientVersionBuild, DateTime>(ClientVersionBuild.V10_2_7_54604, new DateTime(2024, 05, 08, 02, 55, 02)),

// no classic info, pkt contain build in header
};

Expand Down Expand Up @@ -1062,6 +1066,9 @@ public static ClientVersionBuild GetVersionDefiningBuild(ClientVersionBuild buil
case ClientVersionBuild.V10_2_6_54205:
case ClientVersionBuild.V10_2_6_54358:
case ClientVersionBuild.V10_2_6_54499:
case ClientVersionBuild.V10_2_7_54577:
case ClientVersionBuild.V10_2_7_54601:
case ClientVersionBuild.V10_2_7_54604:
return ClientVersionBuild.V10_0_0_46181;
//Classic
case ClientVersionBuild.V1_13_2_31446:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace WowPacketParser.Store.Objects.UpdateFields
{
public interface IPetCreatureName
{
}
}
Loading

0 comments on commit 4887b95

Please sign in to comment.