mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 06:08:20 -05:00
41 lines
942 B
C#
41 lines
942 B
C#
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; }
|
|
|
|
/// <summary>
|
|
/// raw text data from the game server
|
|
/// </summary>
|
|
string[] RawResponse { get; }
|
|
}
|
|
}
|