-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Status.cs
38 lines (33 loc) · 1.17 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
namespace OpenGSQ.Responses.Samp
{
/// <summary>
/// Represents the status response from a server.
/// </summary>
public class Status
{
/// <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 number of players currently connected to the server.
/// </summary>
public short NumPlayers { get; set; }
/// <summary>
/// Gets or sets the maximum number of players that can connect to the server.
/// </summary>
public short MaxPlayers { get; set; }
/// <summary>
/// Gets or sets the name of the server.
/// </summary>
public string ServerName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the type of game being played on the server.
/// </summary>
public string GameType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the language of the server.
/// </summary>
public string Language { get; set; } = string.Empty;
}
}