IW4M-Admin/SharedLibraryCore/Interfaces/IStatusResponse.cs

35 lines
798 B
C#
Raw Normal View History

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