using System; using System.Collections.Generic; namespace AllocsFixes.CustomCommands { public class webstat : ConsoleCmdAbstract { public override string GetDescription () { return "DEBUG PURPOSES ONLY"; } public override string[] GetCommands () { return new string[] { "webstat" }; } public override void Execute (List _params, CommandSenderInfo _senderInfo) { try { SdtdConsole.Instance.Output ("Current handlers: " + AllocsFixes.NetConnections.Servers.Web.Web.currentHandlers + " - total: " + AllocsFixes.NetConnections.Servers.Web.Web.handlingCount); } catch (Exception e) { Log.Out ("Error in webstat.Run: " + e); } } } }