示例#1
0
        /// <summary>
        /// 更新座位的内容。
        /// </summary>
        /// <param name="seat"></param>
        /// <param name="data"></param>
        private void UpdateSeat(PlayerSeat seat, User data)
        {
            if (!seat)
            {
                return;
            }

            seat.ApplyData(data);
        }
示例#2
0
        public void OnSeatShowFuncGroup(PlayerSeat seat)
        {
            if (!seat)
            {
                return;
            }

            SouthSeat.ShowFuncGroup(SouthSeat == seat);
            WestSeat.ShowFuncGroup(WestSeat == seat);
            NorthSeat.ShowFuncGroup(NorthSeat == seat);
            EastSeat.ShowFuncGroup(EastSeat == seat);
        }