예제 #1
0
        /// <summary>
        /// 领取推广奖励
        /// </summary>
        /// <param name="callBackParam"></param>
        public override void receiveAward2CallBack(GoldBaseDto callBackParam)
        {
            PlayerCache.loginInfo.gold = callBackParam.holdGold;

            UIHallManager uIHallManager = MessageManager.GetInstance.GetUIDict <UIHallManager>();

            if (uIHallManager != null)
            {
                if (uIHallManager.gameObject.activeSelf)
                {
                    uIHallManager.UpdateUI();
                }
            }
            UIStartEarnGoldPanel uIStartEarnGoldPanel = MessageManager.GetInstance.GetUIDict <UIStartEarnGoldPanel>();

            if (uIStartEarnGoldPanel != null)
            {
                if (uIStartEarnGoldPanel.gameObject.activeSelf)
                {
                    uIStartEarnGoldPanel.GetEarningsResponse();
                }
            }
            XUIMidMsg.QuickMsg("领取" + callBackParam.exchangeGold + "金币成功!");
        }
예제 #2
0
 /// <summary>
 /// 领取奖励 ----> <<receiveAward();回调>>
 /// </summary>
 public virtual void receiveAward2CallBack(GoldBaseDto callBackParam)
 {
 }