/// <summary> /// 更新座位的内容。 /// </summary> /// <param name="seat"></param> /// <param name="data"></param> private void UpdateSeat(PlayerSeat seat, User data) { if (!seat) { return; } seat.ApplyData(data); }
public void OnSeatShowFuncGroup(PlayerSeat seat) { if (!seat) { return; } SouthSeat.ShowFuncGroup(SouthSeat == seat); WestSeat.ShowFuncGroup(WestSeat == seat); NorthSeat.ShowFuncGroup(NorthSeat == seat); EastSeat.ShowFuncGroup(EastSeat == seat); }