IW4M-Admin/SharedLibraryCore/Interfaces/IStatusResponse.cs

35 lines
806 B
C#
Raw Normal View History

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