ClassiCube/Launcher2/WebService/ServerListEntry.cs
2016-03-26 13:51:42 +11:00

42 lines
1.3 KiB
C#

// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace Launcher {
public class ServerListEntry {
public string Hash;
/// <summary> Name of the server. </summary>
public string Name;
/// <summary> Current number of players on the server. </summary>
public string Players;
/// <summary> Maximum number of players that can play on the server. </summary>
public string MaximumPlayers;
/// <summary> How long the server has been 'alive'. </summary>
public string Uptime;
/// <summary> IP address the server is hosted on. </summary>
public string IPAddress;
/// <summary> Port the server is hosted on. </summary>
public string Port;
/// <summary> Mppass specific for the user and this server. </summary>
public string Mppass;
/// <summary> Software the server is running on, may be empty. </summary>
public string Software;
public ServerListEntry( string hash, string name, string players, string maxPlayers,
string uptime, string mppass, string ip, string port, string software ) {
Hash = hash; Name = name; Players = players;
MaximumPlayers = maxPlayers; Uptime = uptime;
Mppass = mppass; IPAddress = ip; Port = port;
Software = software;
}
}
}