예제 #1
0
 /// <summary>
 /// 有玩家下注的服务器广播
 /// </summary>
 /// <param name="dto"></param>
 private void PutStakesBRO(StakesDto dto)
 {
     if (dto.userId == Models.GameModel.matchRoomDto.LeftPlayerId)
     {
         txt_CoinCount.text = dto.remainCoin.ToString();
         if (dto.stakesType == StakesDto.StakesType.NoLook)
         {
             m_StakesCountHint.Show(dto.stakesCount + "不看");
             txt_StakesSum.text = dto.stakesSum.ToString();
         }
         else
         {
             m_StakesCountHint.Show(dto.stakesCount + "看看");
             txt_StakesSum.text = dto.stakesSum.ToString();
         }
     }
     go_CountDown.SetActive(false);
     m_IsStartStakes = false;
 }
예제 #2
0
 /// <summary>
 /// 有玩家下注的服务器广播
 /// </summary>
 /// <param name="arg"></param>
 private void PutStakesBRO(StakesDto dto)
 {
     // 自身
     if (dto.userId == Models.GameModel.MatchRoomDto.LeftPlayerId)
     {
         txtCoin.text = dto.remainCoin.ToString();
         if (dto.stakesType == StakesDto.StakesType.NoLook)
         {
             stakesHint.ShowHint(dto.stakesCount + "不看");
             txtStakesSum.text = dto.stakesSum.ToString();
         }
         else
         {
             stakesHint.ShowHint(dto.stakesCount + "看看");
             txtStakesSum.text = dto.stakesSum.ToString();
         }
     }
     goCountDown.SetActive(false);
     isStartStakes = false;
 }
예제 #3
0
 /// <summary>
 /// 有玩家下注的服务器广播
 /// </summary>
 /// <param name="dto"></param>
 private void PutStakesBRO(StakesDto dto)
 {
     if (dto.userId == Models.GameModel.userDto.UserId)
     {
         txt_CoinCount.text = dto.remainCoin.ToString();
         if (dto.stakesType == StakesDto.StakesType.NoLook)
         {
             m_StakesCountHint.Show(dto.stakesCount + "不看");
             txt_StakesSum.text = dto.stakesSum.ToString();
         }
         else
         {
             m_StakesCountHint.Show(dto.stakesCount + "看看");
             txt_StakesSum.text = dto.stakesSum.ToString();
         }
     }
     go_CountDown.SetActive(false);
     SetBottomButtonInteractable(false);
     m_IsStartStakes = false;
     go_CompareBtns.SetActive(false);
 }
예제 #4
0
 /// <summary>
 /// 有玩家下注的服务器广播
 /// </summary>
 /// <param name="arg"></param>
 private void PutStakesBRO(StakesDto dto)
 {
     // 自身
     if (dto.userId == Models.GameModel.userDto.id)
     {
         txtCoin.text = dto.remainCoin.ToString();
         if (dto.stakesType == StakesDto.StakesType.NoLook)
         {
             stakesHint.ShowHint(dto.stakesCount + "不看");
             txtStakesSum.text = dto.stakesSum.ToString();
         }
         else
         {
             stakesHint.ShowHint(dto.stakesCount + "看看");
             txtStakesSum.text = dto.stakesSum.ToString();
         }
     }
     goCountDown.SetActive(false);
     SetBtnInteractable(false);
     isStartStakes = false;
     goCompareBtns.SetActive(false);
 }