forked from julianperrott/WowClassicGrindBot
-
-
Notifications
You must be signed in to change notification settings - Fork 191
Expand file tree
/
Copy pathRunOptions.cs
More file actions
109 lines (91 loc) · 3.32 KB
/
RunOptions.cs
File metadata and controls
109 lines (91 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
using CommandLine;
using SharedLib;
namespace HeadlessServer;
public sealed class RunOptions
{
[Value(0,
MetaName = "ClassConfig file",
Required = true,
HelpText = "ClassConfiguration file found in 'Json\\class\\'\nexample: Warrior_1.json")]
public string? ClassConfig { get; set; }
[Option('m',
"mode",
Required = false,
Default = StartupConfigPathing.Types.Local,
HelpText = $"Navigation services: \n{nameof(StartupConfigPathing.Types.Local)}\n{nameof(StartupConfigPathing.Types.RemoteV1)}\n{nameof(StartupConfigPathing.Types.RemoteV3)}")]
public StartupConfigPathing.Types Mode { get; set; }
[Option('p',
"pid",
Required = false,
Default = -1,
HelpText = $"World of Warcraft Process Id")]
public int Pid { get; set; }
[Option('r',
"reader",
Required = false,
Default = AddonDataProviderType.DXGI,
HelpText = $"Screen reader backend. " +
$"'{nameof(AddonDataProviderType.DXGI)}': DirectX based, works from Win8. " +
$"'{nameof(AddonDataProviderType.WGC)}': Windows Graphics Capture, supports background capture (Win10 2004+).")]
public AddonDataProviderType Reader { get; set; }
[Option("hostv1",
Required = false,
Default = "localhost",
HelpText = $"Navigation Remote V1 host")]
public string? Hostv1 { get; set; }
[Option("portv1",
Required = false,
Default = 5001,
HelpText = $"Navigation Remote V1 port")]
public int Portv1 { get; set; }
[Option("hostv3",
Required = false,
Default = "127.0.0.1",
HelpText = $"Navigation Remote V3 host")]
public string? Hostv3 { get; set; }
[Option("portv3",
Required = false,
Default = 47111,
HelpText = $"Navigation Remote V3 port")]
public int Portv3 { get; set; }
[Option('d', "diag",
Required = false,
Default = false,
HelpText = $"Capture Screenshot for Diagnostics")]
public bool Diagnostics { get; set; }
[Option('o', "overlay",
Required = false,
Default = false,
HelpText = $"Show NpcNameFinder Overlay")]
public bool OverlayEnabled { get; set; }
[Option('t', "otargeting",
Required = false,
Default = false,
HelpText = $"Show NpcNameFinder Overlay for Targeting")]
public bool OverlayTargeting { get; set; }
[Option('s', "oskinning",
Required = false,
Default = false,
HelpText = $"Show NpcNameFinder Overlay for Skinning")]
public bool OverlaySkinning { get; set; }
[Option('v', "otargetvsadd",
Required = false,
Default = false,
HelpText = $"Show NpcNameFinder Overlay for Target vs Add")]
public bool OverlayTargetVsAdd { get; set; }
[Option('n', "viz",
Required = false,
Default = false,
HelpText = $"Disable PathVisualization in RemoteV1")]
public bool PathVisualizer { get; set; }
[Option('g', "gpu",
Required = false,
Default = false,
HelpText = "Use GPU compute shader for NPC name finding")]
public bool UseGpu { get; set; }
[Option("loadonly",
Required = false,
Default = false,
HelpText = $"Loads the class profile then exists")]
public bool LoadOnly { get; set; }
}