Exemplo n.º 1
0
    /// <summary>
    /// 过
    /// </summary>
    public void Pass(PDK_PASS proto)
    {
        SeatEntity seat = GetSeatBySeatPos(proto.pos);

        if (seat == null)
        {
            return;
        }
        seat.IsPass = true;
        seat.Status = SeatEntity.SeatStatus.Wait;
        SetCountDown(0, seat == PlayerSeat, seat.Index, true);
        SendSeatInfoChangeNotify(seat);
    }
Exemplo n.º 2
0
 public PassCommand(PDK_PASS data)
 {
     m_DataEntity = data;
 }