Exemple #1
0
        /// <summary>
        /// 填写邀请码 领取回调
        /// </summary>
        /// <param name="callBackParam"></param>
        public override void invite2CallBack(GeneralizeAwardDto callBackParam)
        {
            PlayerCache.loginInfo.gold = callBackParam.selfHoldGold;

            // PlayerCache.loginInfo.HasGeneralizeId = true;
            UIHallManager uIHallManager = MessageManager.GetInstance.GetUIDict <UIHallManager>();

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

            if (uIInputInviteCodePanel != null)
            {
                if (uIInputInviteCodePanel.gameObject.activeSelf)
                {
                    uIInputInviteCodePanel.GetAwardSuccessResponse();
                }
            }
        }
Exemple #2
0
 /// <summary>
 /// 邀请 ----> <<invite();回调>>
 /// </summary>
 public virtual void invite2CallBack(GeneralizeAwardDto callBackParam)
 {
 }
Exemple #3
0
 public override void notifyInvite(GeneralizeAwardDto dto)
 {
     XUIMidMsg.QuickMsg("有人填了你的邀请码!");
 }
Exemple #4
0
 /// <summary>
 /// 如果玩家在线 通知推广人有玩家填了你的邀请码
 /// </summary>
 public virtual void notifyInvite(GeneralizeAwardDto dto)
 {
 }