public MasterServer(int Port = 9999) { AttendantConsole = new AttendantConsole(this); Server = new JSONSocketServer(Port); Server.ActionOnConnectHandle += NewConnection; Server.SocketMessageRecieved += OnMessageReceived; Server.OnDisconnect += OnDisconnect; }
public void ShowConsole() { if (AttendantConsole == null || AttendantConsole.IsDisposed) { AttendantConsole = new AttendantConsole(this); } AttendantConsole.Show(); }