mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-13 00:28:10 -05:00
tweaked rcon throttle rate/made async
increased cutoff for server overview messages dont print message if timed out
This commit is contained in:
24
SharedLibrary/RCon/StaticHelpers.cs
Normal file
24
SharedLibrary/RCon/StaticHelpers.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using SharedLibrary.Objects;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SharedLibrary.RCon
|
||||
{
|
||||
public static class StaticHelpers
|
||||
{
|
||||
public enum QueryType
|
||||
{
|
||||
GET_STATUS,
|
||||
GET_INFO,
|
||||
DVAR,
|
||||
COMMAND,
|
||||
}
|
||||
|
||||
public static char SeperatorChar = (char)int.Parse("0a", System.Globalization.NumberStyles.AllowHexSpecifier);
|
||||
public static readonly TimeSpan SocketTimeout = new TimeSpan(0, 0, 1);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user