1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

update readme

add vision average to client stats
other stuff
This commit is contained in:
RaidMax
2018-09-07 22:29:42 -05:00
parent 8a721bb53a
commit 72f0bbf2fe
27 changed files with 1750 additions and 192 deletions

View File

@ -4,15 +4,45 @@ namespace SharedLibraryCore.RCon
{
public static class StaticHelpers
{
/// <summary>
/// defines the type of RCon query sent to a server
/// </summary>
public enum QueryType
{
/// <summary>
/// retrieve the status of a server
/// does not require RCon password
/// </summary>
GET_STATUS,
/// <summary>
/// retrieve the information of a server
/// server responds with key/value pairs
/// RCon password is required
/// </summary>
GET_INFO,
/// <summary>
/// retrieve the value of a DVAR
/// RCon password is required
/// </summary>
DVAR,
/// <summary>
/// execute a command
/// RCon password is required
/// </summary>
COMMAND,
}
/// <summary>
/// line seperator char included in response from the server
/// </summary>
public static char SeperatorChar = (char)int.Parse("0a", System.Globalization.NumberStyles.AllowHexSpecifier);
/// <summary>
/// timeout in seconds to wait for a socket send or receive before giving up
/// </summary>
public static readonly TimeSpan SocketTimeout = new TimeSpan(0, 0, 10);
/// <summary>
/// interval in milliseconds to wait before sending the next RCon request
/// </summary>
public static readonly int FloodProtectionInterval = 350;
}
}