~ruther/NosTale-Gfless

ref: fc51a68e949a505ac95fe9b5e7363245d2b539d8 NosTale-Gfless/NostaleGfless.Example/Options.cs -rw-r--r-- 913 bytes
fc51a68e — František Boháček Initial commit 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