mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-13 15:04:36 +01:00
some handlers, dh pubkey negative problem still not solved...
This commit is contained in:
@@ -7,6 +7,18 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="all_mainmenu_packets.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="all_mainmenu_packets.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
<ProjectReference Include="..\Novaria.Common\Novaria.Common.csproj" />
|
||||
|
||||
@@ -81,7 +81,8 @@ namespace Novaria.PcapParser
|
||||
Method = packet.type,
|
||||
Packet = Convert.ChangeType(decodedPayload, requestType),
|
||||
MsgId = msgid,
|
||||
ClassType = NetMsgIdToNameMappings[(short)msgid]
|
||||
ClassType = NetMsgIdToNameMappings[(short)msgid],
|
||||
MsgIdName = Enum.GetName(typeof(NetMsgId), msgid)
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -682,6 +683,7 @@ namespace Novaria.PcapParser
|
||||
public object Packet { get; set; }
|
||||
public string ClassType { get; set; }
|
||||
public NetMsgId MsgId { get; set; }
|
||||
public string MsgIdName { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
PcapParser.Instance.Parse("first_instant_join.json");
|
||||
PcapParser.Instance.Parse("all_mainmenu_packets.json");
|
||||
|
||||
PcapParser.Instance.SavePackets("parsed_packets.json");
|
||||
}
|
||||
|
||||
298
Novaria.PcapParser/all_mainmenu_packets.json
Normal file
298
Novaria.PcapParser/all_mainmenu_packets.json
Normal file
File diff suppressed because one or more lines are too long
19089
Novaria.PcapParser/all_menu_parsed_packets.json
Normal file
19089
Novaria.PcapParser/all_menu_parsed_packets.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user