示例#1
0
 // Token: 0x06011C85 RID: 72837 RVA: 0x00499FE8 File Offset: 0x004981E8
 protected override void StartRelogin()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_StartRelogin_hotfix != null)
     {
         this.m_StartRelogin_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     LoginUITask.CheckServerMaitainState();
     base.StartRelogin();
 }
示例#2
0
 // Token: 0x0600D3AB RID: 54187 RVA: 0x0039C350 File Offset: 0x0039A550
 private void PlayerSettingUIController_OnNotifyStoreRefreshIsOn(bool isOn)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_PlayerSettingUIController_OnNotifyStoreRefreshIsOnBoolean_hotfix != null)
     {
         this.m_PlayerSettingUIController_OnNotifyStoreRefreshIsOnBoolean_hotfix.call(new object[]
         {
             this,
             isOn
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     LocalConfig.Instance.Data.NotifyStoreRefresh = isOn;
     LocalConfig.Instance.Apply(false);
     LocalConfig.Instance.Save();
     LoginUITask.SetLocalPushNotifications();
 }
        // Token: 0x06013110 RID: 78096 RVA: 0x004DD858 File Offset: 0x004DBA58
        private void UpdateSharePlayerInfo()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateSharePlayerInfo_hotfix != null)
            {
                this.m_UpdateSharePlayerInfo_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;

            this.m_playerNameText.text = projectLPlayerContext.GetPlayerName();
            this.m_playerLvText.text   = projectLPlayerContext.GetPlayerLevel().ToString();
            this.m_serverNameText.text = LoginUITask.GetCurrentSelectServerInfo().m_name;
        }
示例#4
0
 // Token: 0x0600523E RID: 21054 RVA: 0x001864B0 File Offset: 0x001846B0
 public void Execute(string strParams)
 {
     LoginUITask.Relogin();
 }
示例#5
0
        // Token: 0x06009667 RID: 38503 RVA: 0x002B07C4 File Offset: 0x002AE9C4
        protected override void OnBindFiledsCompleted()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnBindFiledsCompleted_hotfix != null)
            {
                this.m_OnBindFiledsCompleted_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            base.OnBindFiledsCompleted();
            this.m_playerContext = (GameManager.Instance.PlayerContext as ProjectLPlayerContext);
            this.m_returnButton.onClick.AddListener(new UnityAction(this.OnReturnClick));
            this.m_ssrToggle.onValueChanged.AddListener(delegate(bool isSelect)
            {
                if (isSelect)
                {
                    this.SwitchRankShowClick(this.m_ssrToggle.gameObject);
                }
            });
            this.m_srToggle.onValueChanged.AddListener(delegate(bool isSelect)
            {
                if (isSelect)
                {
                    this.SwitchRankShowClick(this.m_srToggle.gameObject);
                }
            });
            this.m_rToggle.onValueChanged.AddListener(delegate(bool isSelect)
            {
                if (isSelect)
                {
                    this.SwitchRankShowClick(this.m_rToggle.gameObject);
                }
            });
            GameObject asset      = this.m_resourceContainer.GetAsset <GameObject>("ShareButton");
            GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(asset);

            gameObject.transform.SetParent(this.m_shareButtonDummy.transform, false);
            this.m_weiBoButton  = GameObjectUtility.FindComponentByName <Button>(gameObject.transform, "WeiBoButton");
            this.m_weChatButton = GameObjectUtility.FindComponentByName <Button>(gameObject.transform, "WeChatButton");
            CommonUIStateController commonUIStateController = gameObject.GetComponent <CommonUIStateController>();

            if (commonUIStateController != null)
            {
                commonUIStateController.SetToUIState("BgOff", false, true);
            }
            asset      = this.m_resourceContainer.GetAsset <GameObject>("SharePhoto");
            gameObject = UnityEngine.Object.Instantiate <GameObject>(asset);
            gameObject.transform.SetParent(this.m_sharePhotoDummy.transform, false);
            commonUIStateController = gameObject.GetComponentInChildren <CommonUIStateController>();
            if (commonUIStateController != null)
            {
                commonUIStateController.SetToUIState("Normal", false, true);
            }
            this.m_nameText       = GameObjectUtility.FindComponentByName <Text>(gameObject.transform, "NameText");
            this.m_lvText         = GameObjectUtility.FindComponentByName <Text>(gameObject.transform, "LvValueText");
            this.m_serverNameText = GameObjectUtility.FindComponentByName <Text>(gameObject.transform, "ServerNameText");
            this.m_weiBoButton.onClick.AddListener(new UnityAction(this.OnWeiBoClick));
            this.m_weChatButton.onClick.AddListener(new UnityAction(this.OnWeChatClick));
            this.m_nameText.text       = this.m_playerContext.GetPlayerName();
            this.m_lvText.text         = this.m_playerContext.GetPlayerLevel().ToString();
            this.m_serverNameText.text = LoginUITask.GetCurrentSelectServerInfo().m_name;
            this.m_sharePhotoDummy.SetActive(false);
            this.m_herosRGameObject.SetActive(false);
            this.m_herosSRGameObject.SetActive(false);
            this.m_herosSSRGameObject.SetActive(false);
        }