mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 23:01:30 +00:00
27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
using System.Collections.Generic;
|
|
using CommandLine;
|
|
|
|
namespace StreamParser
|
|
{
|
|
public class ConsoleHostedServiceOptions
|
|
{
|
|
[Option("input", Required = true, HelpText = "Input pcap files to be processed.")]
|
|
public IEnumerable<string> Input { get; set; }
|
|
|
|
[Option("output", Default = "output/", HelpText = "Directory to put output files")]
|
|
public string Output { get; set; }
|
|
|
|
[Option("text", Default = true, HelpText = "Dump connections to text files.")]
|
|
public bool Text { get; set; }
|
|
|
|
[Option("decrypt", Default = false, HelpText = "Decrypt the \"Encrypted\" packets.")]
|
|
public bool Decrypt { get; set; }
|
|
|
|
[Option("decompress", Default = null, HelpText = "Which opcodes to attempt to decompress")]
|
|
public IEnumerable<int> DecompressOpcodes { get; set; }
|
|
|
|
[Option("enable-unknown-streams", Default = false, HelpText = "Enable dumping of unknown streams; they will be skipped otherwise.")]
|
|
public bool DumpUnknownStreams { get; set; }
|
|
}
|
|
}
|