mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 09:34:35 -05:00
29 lines
No EOL
696 B
C#
29 lines
No EOL
696 B
C#
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;
|
|
|
|
public ServerListEntry( string hash, string name, string players, string maxPlayers, string uptime ) {
|
|
Hash = hash;
|
|
Name = name;
|
|
Players = players;
|
|
MaximumPlayers = maxPlayers;
|
|
Uptime = uptime;
|
|
}
|
|
}
|
|
} |