Esempio n. 1
0
        // Token: 0x06011C89 RID: 72841 RVA: 0x0049A28C File Offset: 0x0049848C
        protected override void OnReturnToLoginConfirmButtonClicked(UIControllerBase ctrl)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnReturnToLoginConfirmButtonClickedUIControllerBase_hotfix != null)
            {
                this.m_OnReturnToLoginConfirmButtonClickedUIControllerBase_hotfix.call(new object[]
                {
                    this,
                    ctrl
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix             = false;
            ReloginUITask.s_prevReloginSuccessCallBack = null;
            ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;

            if (projectLPlayerContext != null && projectLPlayerContext.GetChatComponent().DataDirty)
            {
                projectLPlayerContext.GetChatComponent().SaveChatHistoryData();
            }
            base.OnReturnToLoginConfirmButtonClicked(ctrl);
        }