~ruther/NosTale-Gfless

ref: 1fb9e061a3334d492540fdb4c67dd8b3c5a47dda NosTale-Gfless/NostaleGfless.Example/Options.cs -rw-r--r-- 913 bytes
1fb9e061 — František Boháček fix: wait for main nostale window to open 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using CommandLine;
using Newtonsoft.Json;

namespace NostaleGfless.Example
{
    public class Options
    {
        [Option('i', "installation", Required = false, HelpText = "Installation guid. Can be obtained from regedit.")]
        public string InstallationId { get; set; }

        [Option('n', "nostale", Required = true, HelpText = "Path to nostale folder or NostaleClientX.exe")]
        public string NostalePath { get; set; }

        [Option('a', "account", Required = false, HelpText = "Name of the account to connect to. Otherwise the first one will be used.")]
        public string AccountName { get; set; }

        [Value(0, MetaName = "Email", Required = true, HelpText = "Gameforge account email")]
        public string Email { get; set; }

        [Value(1, MetaName = "Password", Required = true, HelpText = "Gameforge account password")]
        public string Password { get; set; }
    }
}
Do not follow this link