Sanguosha.UI.Controls.LobbyViewModel.CloseSeat C# (CSharp) Méthode

CloseSeat() public méthode

public CloseSeat ( SeatViewModel seat ) : bool
seat SeatViewModel
Résultat bool
        public bool CloseSeat(SeatViewModel seat)
        {
            var index = CurrentRoom.Seats.IndexOf(seat);
            if (index < 0) return false;
            return _IsSuccess(Connection.CloseSeat(index));
        }