public override void OnPluginCreated() { Bot.Log("DebuggerInterface created"); PipeServer.Start(); CommandHandler.SetupEvents(); SetupEventReveivers(); }
public static void SendCommand(CommandType command, string[] args) { if (!PipeServer.Connected) { return; } var argsToSend = new List <string> { command.ToString() }; argsToSend.AddRange(args); PipeServer.SendMessage(string.Join(MessageSeparator.ToString(), argsToSend)); }
public override void Dispose() { PipeServer.Close(); }