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 parsing of 1.14.4 #803

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
10 changes: 10 additions & 0 deletions WowPacketParser/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@
-->
<add key="TargetedDatabase" value="2"/>

<!--
Option: TargetedProject
Description: Sets the project target for which the SQL output should be produced.
Default: "0" (TrinityCore)
Values: 0: TrinityCore
1: Cmangos
-->
<add key="TargetedProject" value="0"/>

<!--
Option: DumpFormat
Description: Format to write to output file
Expand Down Expand Up @@ -151,6 +160,7 @@
<add key="creature_template_difficulty" value="false"/>
<add key="creature_template_gossip" value="false"/>
<add key="creature_template_locale" value="false"/>
<add key="creature_spell_list" value="false"/> <!-- requires TargetedProject Cmangos -->
<add key="creature_text" value="false"/>
<add key="gameobject" value="false"/>
<add key="gameobject_addon" value="false"/>
Expand Down
2 changes: 2 additions & 0 deletions WowPacketParser/Enums/ClientType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public enum ClientType
Classic = 7,
Shadowlands = 8,
ClassicSoM = 8,
ClassicHardcore = 8,
ClassicSoD = 8,
BurningCrusadeClassic = 8,
WotLKClassic = 8,
Dragonflight = 9,
Expand Down
9 changes: 9 additions & 0 deletions WowPacketParser/Enums/ClientVersionBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,15 @@ public enum ClientVersionBuild
V1_14_3_49229 = 49229, // live
V1_14_3_49821 = 49821, // live

V1_14_4_51146 = 51146, // ptr
V1_14_4_51535 = 51535, // live

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
V2_5_1_38598 = 38598, // ptr
V2_5_1_38644 = 38644,
Expand Down
1 change: 1 addition & 0 deletions WowPacketParser/Enums/SQLOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public enum SQLOutput
creature_template_gossip,
creature_template_locale,
creature_text,
creature_spell_list,
gameobject,
gameobject_addon,
gameobject_queststarter,
Expand Down
8 changes: 8 additions & 0 deletions WowPacketParser/Enums/TargetedProject.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace WowPacketParser.Enums
{
public enum TargetedProject
{
TrinityCore = 0,
Cmangos = 1,
}
}
15 changes: 15 additions & 0 deletions WowPacketParser/Enums/Version/Opcodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
using WowPacketParser.Enums.Version.V10_2_6_53840;
using WowPacketParser.Enums.Version.V10_2_7_54577;
using WowPacketParser.Misc;
using WowPacketParser.Enums.Version.V1_14_4_51146;
using WowPacketParser.Enums.Version.V1_15_0_52302;

namespace WowPacketParser.Enums.Version
{
Expand Down Expand Up @@ -879,6 +881,9 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
case ClientVersionBuild.V3_4_2_50375:
case ClientVersionBuild.V3_4_2_50664:
return ClientVersionBuild.V3_4_2_50129;
case ClientVersionBuild.V1_14_4_51146: // inherits from above
case ClientVersionBuild.V1_14_4_51535:
return ClientVersionBuild.V1_14_4_51146;
case ClientVersionBuild.V3_4_3_51505:
case ClientVersionBuild.V3_4_3_51572:
case ClientVersionBuild.V3_4_3_51666:
Expand All @@ -890,6 +895,12 @@ public static ClientVersionBuild GetOpcodeDefiningBuild(ClientVersionBuild build
case ClientVersionBuild.V3_4_3_53788:
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_52610:
case ClientVersionBuild.V1_15_1_53247:
case ClientVersionBuild.V1_15_1_53495:
case ClientVersionBuild.V1_15_2_54262:
return ClientVersionBuild.V1_15_0_52302;
case ClientVersionBuild.V4_4_0_54481:
case ClientVersionBuild.V4_4_0_54500:
case ClientVersionBuild.V4_4_0_54501:
Expand Down Expand Up @@ -1051,6 +1062,10 @@ public static BiDictionary<Opcode, int> GetOpcodeDictionary(ClientVersionBuild b
return Opcodes_1_13_6.Opcodes(direction);
case ClientVersionBuild.V1_14_1_40688:
return Opcodes_1_14_1.Opcodes(direction);
case ClientVersionBuild.V1_14_4_51146:
return Opcodes_1_14_4.Opcodes(direction);
case ClientVersionBuild.V1_15_0_52302:
return Opcodes_1_15_0.Opcodes(direction);
case ClientVersionBuild.V2_5_1_38835:
return Opcodes_2_5_1.Opcodes(direction);
case ClientVersionBuild.V2_5_2_39570:
Expand Down
13 changes: 13 additions & 0 deletions WowPacketParser/Enums/Version/UpdateFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,19 @@ private static string GetUpdateFieldDictionaryBuildName(ClientVersionBuild build
{
return "V1_14_3_42770";
}
case ClientVersionBuild.V1_14_4_51146:
case ClientVersionBuild.V1_14_4_51535:
{
return "V1_14_4_51146";
}
case ClientVersionBuild.V1_15_0_52302:
case ClientVersionBuild.V1_15_0_52610:
case ClientVersionBuild.V1_15_1_53247:
case ClientVersionBuild.V1_15_1_53495:
case ClientVersionBuild.V1_15_2_54262:
{
return "V1_15_0_52302";
}
case ClientVersionBuild.V2_5_1_38598:
case ClientVersionBuild.V2_5_1_38644:
case ClientVersionBuild.V2_5_1_38707:
Expand Down
Loading
Loading