/// <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; }
/// <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); }
protected virtual void StakesAfter(int count, string str) { m_StakesCountHint.Show(count + str); m_StakesSum += count; txt_StakesSum.text = m_StakesSum.ToString(); }