public void SendDetach(ScriptConsoleClient src) { var evt = new ScriptConsoleEvent(); evt.Cmd = null; evt.Type = ScriptConsoleEvent.EventType.DetachClient; evt.SrcClient = src; Clientq.Add(evt); }
public void SendCmd(ScriptConsoleClient src, string cmd) { var evt = new ScriptConsoleEvent(); evt.Cmd = cmd; evt.Type = ScriptConsoleEvent.EventType.ProcessCmd; evt.SrcClient = src; Clientq.Add(evt); }