Skip to content

Commit

Permalink
Added 11.0.5 opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Oct 23, 2024
1 parent e62d3e4 commit b228ddb
Show file tree
Hide file tree
Showing 6 changed files with 2,135 additions and 3 deletions.
7 changes: 5 additions & 2 deletions WowPacketParser/Enums/ClientVersionBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,9 @@ public enum ClientVersionBuild
V11_0_2_56647 = 56647,
V11_0_2_56819 = 56819,

V11_0_5_57171 = 57171,
V11_0_5_57212 = 57212,

// Classic
V1_13_2_31446 = 31446,
V1_13_2_31650 = 31650,
Expand Down Expand Up @@ -678,10 +681,10 @@ public enum ClientVersionBuild

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

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

V1_15_2_54262 = 54262, // live

// TBC Classic
Expand Down
3 changes: 3 additions & 0 deletions WowPacketParser/Enums/Opcode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2028,6 +2028,7 @@ public enum Opcode
SMSG_DEFENSE_MESSAGE,
SMSG_DELETE_CHAR,
SMSG_DELETE_EXPIRED_MISSIONS_RESULT,
SMSG_DELVES_ACCOUNT_DATA_ELEMENT_CHANGED,
SMSG_DESTROY_ARENA_UNIT,
SMSG_DESTROY_OBJECT,
SMSG_DESTRUCTIBLE_BUILDING_DAMAGE,
Expand Down Expand Up @@ -2573,6 +2574,7 @@ public enum Opcode
SMSG_MOVE_SET_ADV_FLYING_PITCHING_RATE_UP,
SMSG_MOVE_SET_ADV_FLYING_SURFACE_FRICTION,
SMSG_MOVE_SET_ADV_FLYING_TURN_VELOCITY_THRESHOLD,
SMSG_MOVE_SET_CANT_SWIM,
SMSG_MOVE_SET_CAN_ADV_FLY,
SMSG_MOVE_SET_ANIM_KIT,
SMSG_MOVE_SET_CAN_FLY,
Expand Down Expand Up @@ -2631,6 +2633,7 @@ public enum Opcode
SMSG_MOVE_SPLINE_UNSET_HOVER,
SMSG_MOVE_TELEPORT,
SMSG_MOVE_UNROOT,
SMSG_MOVE_UNSET_CANT_SWIM,
SMSG_MOVE_UNSET_CAN_ADV_FLY,
SMSG_MOVE_UNSET_CAN_FLY,
SMSG_MOVE_UNSET_CAN_TURN_WHILE_FALLING,
Expand Down
6 changes: 6 additions & 0 deletions WowPacketParser/Enums/Version/Opcodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
using WowPacketParser.Enums.Version.V10_2_7_54577;
using WowPacketParser.Enums.Version.V11_0_0_55666;
using WowPacketParser.Enums.Version.V11_0_2_55959;
using WowPacketParser.Enums.Version.V11_0_5_57171;
using WowPacketParser.Misc;

namespace WowPacketParser.Enums.Version
Expand Down Expand Up @@ -728,6 +729,9 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
case ClientVersionBuild.V11_0_2_56647:
case ClientVersionBuild.V11_0_2_56819:
return ClientVersionBuild.V11_0_2_55959;
case ClientVersionBuild.V11_0_5_57171:
case ClientVersionBuild.V11_0_5_57212:
return ClientVersionBuild.V11_0_5_57171;
case ClientVersionBuild.V1_13_2_31446:
case ClientVersionBuild.V1_13_2_31650:
case ClientVersionBuild.V1_13_2_31687:
Expand Down Expand Up @@ -1099,6 +1103,8 @@ public static BiDictionary<Opcode, int> GetOpcodeDictionary(ClientVersionBuild b
return Opcodes_11_0_0.Opcodes(direction);
case ClientVersionBuild.V11_0_2_55959:
return Opcodes_11_0_2.Opcodes(direction);
case ClientVersionBuild.V11_0_5_57171:
return Opcodes_11_0_5.Opcodes(direction);

case ClientVersionBuild.V1_13_2_31446:
return Opcodes_1_13_2.Opcodes(direction);
Expand Down
2 changes: 1 addition & 1 deletion WowPacketParser/Enums/Version/UpdateFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ private static string GetUpdateFieldDictionaryBuildName(ClientVersionBuild build
case ClientVersionBuild.V11_0_2_56647:
case ClientVersionBuild.V11_0_2_56819:
{
return "V11_0_2_55959";
return "V11_0_2_55959";
}
case ClientVersionBuild.V1_13_2_31446:
case ClientVersionBuild.V1_13_2_31650:
Expand Down
Loading

0 comments on commit b228ddb

Please sign in to comment.