forked from Elfocrash/L2dotNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServerConfig.cs
More file actions
35 lines (26 loc) · 999 Bytes
/
ServerConfig.cs
File metadata and controls
35 lines (26 loc) · 999 Bytes
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
using Newtonsoft.Json;
namespace L2dotNET.Config
{
///<summary>Server Config.</summary>
public class ServerConfig
{
[JsonProperty(PropertyName = "host")]
public string Host { get; set; }
[JsonProperty(PropertyName = "port")]
public int Port { get; set; }
[JsonProperty(PropertyName = "auth_host")]
public string AuthHost { get; set; }
[JsonProperty(PropertyName = "auth_port")]
public int AuthPort { get; set; }
[JsonProperty(PropertyName = "auth_code")]
public string AuthCode { get; set; }
[JsonProperty(PropertyName = "isgmonly")]
public bool IsGmOnly { get; set; }
[JsonProperty(PropertyName = "istestserver")]
public bool IsTestServer { get; set; }
[JsonProperty(PropertyName = "max_players")]
public int MaxPlayers { get; set; }
[JsonProperty(PropertyName = "lazy_html_cache")]
public bool LazyHtmlCache { get; set; }
}
}