-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Status.cs
48 lines (41 loc) · 1.4 KB
/
Status.cs
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
namespace OpenGSQ.Responses.Scum
{
/// <summary>
/// Represents the response status of a server.
/// </summary>
public class Status
{
/// <summary>
/// Gets or sets the IP address of the server.
/// </summary>
public string Ip { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the port number of the server.
/// </summary>
public int Port { get; set; }
/// <summary>
/// Gets or sets the name of the server.
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the number of players currently connected to the server.
/// </summary>
public int NumPlayers { get; set; }
/// <summary>
/// Gets or sets the maximum number of players that can connect to the server.
/// </summary>
public int MaxPlayers { get; set; }
/// <summary>
/// Gets or sets the server time.
/// </summary>
public int Time { get; set; }
/// <summary>
/// Gets or sets a value indicating whether a password is required to connect to the server.
/// </summary>
public bool Password { get; set; }
/// <summary>
/// Gets or sets the version of the server.
/// </summary>
public string Version { get; set; } = string.Empty;
}
}