/// <summary> /// 显示牌信息 /// </summary> public void ShowCardsResult(LotteryHistoryDto result) { stopBet.gameObject.SetActive(false); AHEndTxt.gameObject.SetActive(true); LastResult.text = GameTools.GetCardType(result.result); lastTimeGrantAward.text = NumberConvert.ConvertW(result.lastTimeGrantAward); if (transform.gameObject.activeSelf) { ShowChard(result.cardIds, result.result); } }
/// <summary> /// 开奖结果 /// </summary> /// <param name="dto"></param> public override void result(LotteryHistoryDto dto, int timer) { if (PlayerCache.historyList.Count >= 30) { PlayerCache.historyList.RemoveAt(0); } PlayerCache.historyList.Add(dto); UITianTianLePanel uiTTLPanel = PlayerCache.TianTianLeObj.GetComponent <UITianTianLePanel>(); if (uiTTLPanel != null) { uiTTLPanel.ShowCardsResult(dto); uiTTLPanel.UpdateTrend(PlayerCache.historyList); } }
/// <summary> /// 开奖结果 /// </summary> public virtual void result(LotteryHistoryDto dto, int timer) { }