35 lines
798 B
C#
Raw Normal View History

2021-06-03 10:51:03 -05:00
using SharedLibraryCore.Database.Models;
namespace SharedLibraryCore.Interfaces
{
/// <summary>
2022-01-26 10:32:16 -06:00
/// describes the collection of data returned from a status query
2021-06-03 10:51:03 -05:00
/// </summary>
public interface IStatusResponse
{
/// <summary>
2022-01-26 10:32:16 -06:00
/// name of the map
2021-06-03 10:51:03 -05:00
/// </summary>
string Map { get; }
2022-01-26 10:32:16 -06:00
2021-06-03 10:51:03 -05:00
/// <summary>
2022-01-26 10:32:16 -06:00
/// gametype/mode
2021-06-03 10:51:03 -05:00
/// </summary>
string GameType { get; }
2022-01-26 10:32:16 -06:00
2021-06-03 10:51:03 -05:00
/// <summary>
2022-01-26 10:32:16 -06:00
/// server name
2021-06-03 10:51:03 -05:00
/// </summary>
string Hostname { get; }
2022-01-26 10:32:16 -06:00
2021-06-03 10:51:03 -05:00
/// <summary>
2022-01-26 10:32:16 -06:00
/// max number of players
2021-06-03 10:51:03 -05:00
/// </summary>
int? MaxClients { get; }
2022-01-26 10:32:16 -06:00
2021-06-03 10:51:03 -05:00
/// <summary>
2022-01-26 10:32:16 -06:00
/// active clients
2021-06-03 10:51:03 -05:00
/// </summary>
EFClient[] Clients { get; }
}
}