public void StopDelayed() { _closePending = true; foreach (YGOClient client in _clients) client.Close(); }
public void End() { State = GameState.End; SendToAll(GamePacketFactory.Create(StocMessage.DuelEnd)); _server.StopDelayed(); if (OnGameEnd != null) { OnGameEnd(this, EventArgs.Empty); } }