Exemple #1
0
 public void HaveSeat(int seat)
 {   //如果自己有座位
     if (PlayerCache.SeatPlayerinfoDic.ContainsKey(PlayerCache.loginInfo.uid))
     {
         XUIMidMsg.QuickMsg("亲,您有座位哦");
     }
     //没有座位
     else
     {
         //给服务器发送上位消息
         DiceTcpOperation.positionUp(seat);
         PostionSeat = seat;
     }
 }