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

OpenSeat() public méthode

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