Esempio n. 1
0
 //获取在场玩家信息
 private void OtherPlayerOnclick(int num)
 {
     //获取人物信息
     if (roomPlayerBasedtos != null)
     {
         if (roomPlayerBasedtos.list[num].uid == PlayerCache.loginInfo.uid)
         {
             XUIMidMsg.QuickMsg("亲,这是您自己哦。调皮");
         }
         else
         {
             PlayerCache.LookOtherPlayerInfo(roomPlayerBasedtos.list[num].uid);
         }
     }
 }
Esempio n. 2
0
 //获取在座玩家人物信息
 private void GetOtherPlayerinfo(int seat)
 {
     //获取人物信息
     foreach (var item in PlayerCache.SeatPlayerinfoDic.Values)
     {
         if (item.position == seat)
         {
             if (item.uid != PlayerCache.loginInfo.uid)
             {
                 PlayerCache.LookOtherPlayerInfo(item.uid);
                 break;
             }
         }
     }
 }
Esempio n. 3
0
 /// <summary>
 /// 查看排行榜玩家信息
 /// </summary>
 /// <param name="otherPlayerUid"></param>
 private void ClickRankPlayer(long otherPlayerUid)
 {
     AudioManager.Instance.PlaySound("button");
     PlayerCache.LookOtherPlayerInfo(otherPlayerUid);
 }
Esempio n. 4
0
 //点击头像查看好友信息
 private void BtnGetFriendInfoOnClick(long otherPlaeyrUid)
 {
     AudioManager.Instance.PlaySound("button");
     PlayerCache.LookOtherPlayerInfo(otherPlaeyrUid);
 }