Ejemplo n.º 1
0
        // Token: 0x0600FBB4 RID: 64436 RVA: 0x00422D74 File Offset: 0x00420F74
        private void InitDataFromUIIntent(UIIntent intent)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null)
            {
                this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[]
                {
                    this,
                    intent
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            UIIntentCustom uiintentCustom = intent as UIIntentCustom;

            if (uiintentCustom != null && this.m_hero == null)
            {
                object obj  = 0;
                object obj2 = 0;
                object obj3 = 0;
                uiintentCustom.TryGetParam("slot", out obj2);
                uiintentCustom.TryGetParam("id", out obj3);
                Hero classParam = uiintentCustom.GetClassParam <Hero>("hero");
                if (this.m_hero != classParam)
                {
                    this.m_hero = classParam;
                }
                this.m_state      = (int)obj;
                this.m_slot       = (int)obj2;
                this.m_instanceId = (ulong)obj3;
            }
        }
        // Token: 0x0600C8CD RID: 51405 RVA: 0x00378E9C File Offset: 0x0037709C
        private void InitDataFromUIIntent(UIIntent intent)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null)
            {
                this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[]
                {
                    this,
                    intent
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            this.m_towerFloorInfo          = null;
            this.m_towerLevelInfo          = null;
            this.m_towerBonusHeroGroupInfo = null;
            UIIntentCustom uiintentCustom = intent as UIIntentCustom;

            if (uiintentCustom != null)
            {
                this.m_towerFloorInfo          = uiintentCustom.GetClassParam <ConfigDataTowerFloorInfo>("TowerFloorInfo");
                this.m_towerLevelInfo          = uiintentCustom.GetClassParam <ConfigDataTowerLevelInfo>("TowerLevelInfo");
                this.m_towerBattleRuleInfo     = uiintentCustom.GetClassParam <ConfigDataTowerBattleRuleInfo>("TowerBattleRuleInfo");
                this.m_towerBonusHeroGroupInfo = uiintentCustom.GetClassParam <ConfigDataTowerBonusHeroGroupInfo>("TowerBonusHeroGroupInfo");
            }
        }
Ejemplo n.º 3
0
        // Token: 0x0600D175 RID: 53621 RVA: 0x003950EC File Offset: 0x003932EC
        public static MonthCardInfoUITask StartUITask(int cardId, UIIntent returnIntent = null)
        {
            UIIntentReturnable uiintentReturnable = new UIIntentReturnable(returnIntent, typeof(MonthCardInfoUITask).Name, null);

            uiintentReturnable.SetParam("MonthCardId", cardId);
            return(UIManager.Instance.StartUITask(uiintentReturnable, false, false, null) as MonthCardInfoUITask);
        }
Ejemplo n.º 4
0
        // Token: 0x06010E1A RID: 69146 RVA: 0x0045EC78 File Offset: 0x0045CE78
        private void InitDataFromUIIntent(UIIntent intent)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null)
            {
                this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[]
                {
                    this,
                    intent
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            UIIntentCustom uiintentCustom = intent as UIIntentCustom;

            if (uiintentCustom != null)
            {
                Hero classParam = uiintentCustom.GetClassParam <Hero>("hero");
                ConfigDataJobConnectionInfo classParam2 = uiintentCustom.GetClassParam <ConfigDataJobConnectionInfo>("jobConnectionInfo");
                if (this.m_hero != classParam && classParam != null)
                {
                    this.m_hero = classParam;
                }
                if (this.m_curJobConnectionInfo != classParam2 && classParam2 != null)
                {
                    this.m_curJobConnectionInfo = classParam2;
                }
                else
                {
                    this.m_curJobConnectionInfo = this.m_hero.GetActiveJob().JobConnectionInfo;
                }
            }
        }
Ejemplo n.º 5
0
        // Token: 0x0600FF8B RID: 65419 RVA: 0x00430B3C File Offset: 0x0042ED3C
        private void InitDataFromUIIntent(UIIntent intent)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null)
            {
                this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[]
                {
                    this,
                    intent
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            UIIntentCustom uiintentCustom = intent as UIIntentCustom;

            if (uiintentCustom != null && this.m_hero == null)
            {
                object obj  = 0;
                object obj2 = 0;
                uiintentCustom.TryGetParam("slot", out obj);
                uiintentCustom.TryGetParam("id", out obj2);
                object obj3;
                uiintentCustom.TryGetParam("state", out obj3);
                this.m_forgeState = (EquipmentForgeUIController.ForgeState)obj3;
                this.m_slot       = (int)obj;
                this.m_instanceId = (ulong)obj2;
            }
        }
Ejemplo n.º 6
0
        // Token: 0x0600A29A RID: 41626 RVA: 0x002DD798 File Offset: 0x002DB998
        public static void StartUITask(UIIntent uiIntent)
        {
            UIIntentReturnable uiintentReturnable = new UIIntentReturnable(uiIntent, typeof(BagFullUITask).Name, null);

            uiintentReturnable.SetParam("LastUIIntent", uiIntent);
            UIManager.Instance.StartUITask(uiintentReturnable, true, false, null);
        }
        // Token: 0x0600F154 RID: 61780 RVA: 0x004025B8 File Offset: 0x004007B8
        private void CreateGuild()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CreateGuild_hotfix != null)
            {
                this.m_CreateGuild_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            bool   isOn         = this.m_approveAutoToggle.isOn;
            string announcement = this.m_configDataLoader.UtilityGetStringByStringTable(StringTableId.StringTableId_DefaultGuildAnnouncement);
            GuildCreateReqNetTask guildCreateReqNetTask = new GuildCreateReqNetTask(this.m_guildNameInputField.text, this.m_guildDeclarationInputField.text, announcement, isOn, this.m_requireLevel);

            guildCreateReqNetTask.EventOnStop += delegate(Task task)
            {
                GuildCreateReqNetTask guildCreateReqNetTask2 = task as GuildCreateReqNetTask;
                if (guildCreateReqNetTask2.Result == 0)
                {
                    this.m_playerContext.RemoveBagItemByType(GoodsType.GoodsType_Item, this.m_configDataLoader.ConfigableConstId_GuildCreateItemId, 1, GameFunctionType.GameFunctionType_None, null);
                    this.m_guildUITask.Stop();
                    UIIntent prevTaskIntent = (this.m_guildUITask.CurrentIntent as UIIntentReturnable).PrevTaskIntent;
                    UIIntent intent         = prevTaskIntent;
                    GuildManagementUITask.StartUITask(null, intent);
                }
                else
                {
                    CommonUIController.Instance.ShowErrorMessage(guildCreateReqNetTask2.Result, 2f, null, true);
                }
            };
            guildCreateReqNetTask.Start(null);
        }
Ejemplo n.º 8
0
    public void Create(UIIntent uiIntent)
    {
        var prefab    = Resources.Load <GameObject>(uiIntent.prefabName);
        var go        = GameObject.Instantiate(prefab, this.transform);
        var typeUICtl = Type.GetType(uiIntent.uiControllerName);
        var uictl     = go.AddComponent(typeUICtl);

        BindUIFields(uictl, typeUICtl, go.transform);
    }
Ejemplo n.º 9
0
        public static void StartUITask(UIIntent prevIntent, ConfigDataCharacter p1Config, ConfigDataCharacter p2Config, ConfigDataStage stageConfig)
        {
            UIIntent intent = new UIIntent(typeof(BattleUITask).Name, prevIntent);

            intent.SetCustomParam(ParamKey_P1Config, p1Config);
            intent.SetCustomParam(ParamKey_P2Config, p2Config);
            intent.SetCustomParam(ParamKey_StageConfig, stageConfig);
            UIManager.Instance.StartUITask(intent);
        }
Ejemplo n.º 10
0
        // Token: 0x06009BE0 RID: 39904 RVA: 0x002C5598 File Offset: 0x002C3798
        private void __callDele_EventOnShowArena(ArenaUIType arg1, bool arg2, UIIntent arg3)
        {
            Action <ArenaUIType, bool, UIIntent> eventOnShowArena = this.EventOnShowArena;

            if (eventOnShowArena != null)
            {
                eventOnShowArena(arg1, arg2, arg3);
            }
        }
Ejemplo n.º 11
0
 // Token: 0x0600D094 RID: 53396 RVA: 0x0039232C File Offset: 0x0039052C
 private bool InitDataFromUIIntent(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     return(this.NextInviteInfo());
 }
Ejemplo n.º 12
0
 // Token: 0x0600D39E RID: 54174 RVA: 0x0039BBF4 File Offset: 0x00399DF4
 protected override bool OnStart(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnStartUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnStartUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     return(base.OnStart(intent));
 }
Ejemplo n.º 13
0
 // Token: 0x0600D093 RID: 53395 RVA: 0x00392298 File Offset: 0x00390498
 public override bool OnNewIntent(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnNewIntentUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnNewIntentUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     return(this.InitDataFromUIIntent(intent) && base.StartUpdatePipeLine(intent, false, false, true));
 }
Ejemplo n.º 14
0
 // Token: 0x0600C801 RID: 51201 RVA: 0x003768E0 File Offset: 0x00374AE0
 protected override bool OnResume(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnResumeUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnResumeUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.GetDataFromIntent(intent);
     return(true);
 }
Ejemplo n.º 15
0
 // Token: 0x0601244B RID: 74827 RVA: 0x004B20C0 File Offset: 0x004B02C0
 protected override bool OnResume(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnResumeUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnResumeUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_viewState = PreloadUITask.ViewState.Init;
     return(base.OnResume(intent));
 }
Ejemplo n.º 16
0
 // Token: 0x0600F9A1 RID: 63905 RVA: 0x0041B87C File Offset: 0x00419A7C
 public static void StartUITask(UIIntent lastIntent)
 {
     CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate
     {
         UIIntentReturnable uiintentReturnable = new UIIntentReturnable(lastIntent, typeof(GuildStoreUITask).Name, null);
         UIManager instance     = UIManager.Instance;
         UIIntent intent        = uiintentReturnable;
         bool pushIntentToStack = true;
         bool clearIntentStack  = false;
         if (GuildStoreUITask.< > f__mg$cache0 == null)
         {
             GuildStoreUITask.< > f__mg$cache0 = new Action(GuildStoreUITask.OnLoadAllResCompletedCallback);
         }
         instance.StartUITask(intent, pushIntentToStack, clearIntentStack, GuildStoreUITask.< > f__mg$cache0);
     }, FadeStyle.Black, -1f, -1f);
Ejemplo n.º 17
0
        protected virtual bool Initialize()
        {
            m_gameManager = GameManager.CreateAndInitializeInstance();
            if (m_gameManager == null)
            {
                Debug.LogError("GameManager CreateAndInitializeInstance Failed!");
                return(false);
            }
            m_gameManager.StartLoadAllConfigData();
            Mugen3DUITaskRegister.RegisterUITasks();
            UIIntent intent = new UIIntent("MainMenuUITask");

            UIManager.Instance.StartUITask(intent);
            return(true);
        }
Ejemplo n.º 18
0
        // Token: 0x0600D09C RID: 53404 RVA: 0x0039294C File Offset: 0x00390B4C
        private void StartTeamRoomInfoUITask()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_StartTeamRoomInfoUITask_hotfix != null)
            {
                this.m_StartTeamRoomInfoUITask_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            UIIntent intent = new UIIntent(typeof(TeamRoomInfoUITask).Name, null);

            UIManager.Instance.StartUITask(intent, true, false, null);
        }
Ejemplo n.º 19
0
 // Token: 0x0600BF97 RID: 49047 RVA: 0x003570C4 File Offset: 0x003552C4
 protected override bool OnStart(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnStartUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnStartUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     NoticeUIController.IsForceHide = true;
     InviteNotifyUITask.DisableDisplay();
     return(base.OnStart(intent));
 }
Ejemplo n.º 20
0
 // Token: 0x0600C800 RID: 51200 RVA: 0x0037683C File Offset: 0x00374A3C
 protected override bool OnStart(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnStartUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnStartUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.GetDataFromIntent(intent);
     base.OnStart(intent);
     VoiceRecordHelper.Instance.EventOnVoiceRecordTimeout += this.OnVoiceRecordTimeout;
     return(true);
 }
Ejemplo n.º 21
0
        // Token: 0x0600BF99 RID: 49049 RVA: 0x003571B4 File Offset: 0x003553B4
        protected override bool OnResume(UIIntent intent)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnResumeUIIntent_hotfix != null)
            {
                return(Convert.ToBoolean(this.m_OnResumeUIIntent_hotfix.call(new object[]
                {
                    this,
                    intent
                })));
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            bool result = base.OnResume(intent);

            this.m_arShowUIController.LoadData();
            return(result);
        }
Ejemplo n.º 22
0
        // Token: 0x0600F0BD RID: 61629 RVA: 0x00400F24 File Offset: 0x003FF124
        private void OnDetailClick()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnDetailClick_hotfix != null)
            {
                this.m_OnDetailClick_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            GuildUITask guildUITask    = UIUtility.FindUITaskWithType(typeof(GuildUITask)) as GuildUITask;
            UIIntent    prevTaskIntent = (guildUITask.CurrentIntent as UIIntentReturnable).PrevTaskIntent;

            GuildManagementUITask.StartUITask(this.m_guildJoinInvitation.GuildId, prevTaskIntent);
        }
 // Token: 0x060100FB RID: 65787 RVA: 0x00434738 File Offset: 0x00432938
 public static void StartUITask(UIIntent uiIntent, int heroId)
 {
     CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate
     {
         UIIntentReturnable uiintentReturnable = new UIIntentReturnable(uiIntent, typeof(HeroBreakRarityUpUITask).Name, null);
         HeroBreakRarityUpUITask.m_heroId      = heroId;
         UIManager instance     = UIManager.Instance;
         UIIntent intent        = uiintentReturnable;
         bool pushIntentToStack = true;
         bool clearIntentStack  = false;
         if (HeroBreakRarityUpUITask.< > f__mg$cache0 == null)
         {
             HeroBreakRarityUpUITask.< > f__mg$cache0 = new Action(HeroBreakRarityUpUITask.HeroBreakRarityUpUITask_OnLoadAllResCompleted);
         }
         instance.StartUITask(intent, pushIntentToStack, clearIntentStack, HeroBreakRarityUpUITask.< > f__mg$cache0);
     }, FadeStyle.White, -1f, -1f);
Ejemplo n.º 24
0
        // Token: 0x0600FA0A RID: 64010 RVA: 0x0041CEDC File Offset: 0x0041B0DC
        public static NormalItemBuyUITask StartUITask(StoreId storeId, int itemId)
        {
            UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(NormalItemBuyUITask).Name, null);

            uiintentCustom.SetParam("storeId", storeId);
            uiintentCustom.SetParam("fixedStoreItemId", itemId);
            UIManager instance          = UIManager.Instance;
            UIIntent  intent            = uiintentCustom;
            bool      pushIntentToStack = true;
            bool      clearIntentStack  = false;

            if (NormalItemBuyUITask.< > f__mg$cache0 == null)
            {
                NormalItemBuyUITask.< > f__mg$cache0 = new Action(NormalItemBuyUITask.OnLoadAllResCompletedCallback);
            }
            return(instance.StartUITask(intent, pushIntentToStack, clearIntentStack, NormalItemBuyUITask.< > f__mg$cache0) as NormalItemBuyUITask);
        }
    public static int get_TargetMode(IntPtr l)
    {
        int result;

        try
        {
            UIIntent uiintent = (UIIntent)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, uiintent.TargetMode);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 26
0
 // Token: 0x06012188 RID: 74120 RVA: 0x004A9D78 File Offset: 0x004A7F78
 public override bool OnNewIntent(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnNewIntentUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnNewIntentUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (this.MainLayer == null)
     {
         return(false);
     }
     this.InitDataFromUIIntent(intent);
     return(base.OnNewIntent(intent));
 }
    public static int set_TargetTaskName(IntPtr l)
    {
        int result;

        try
        {
            UIIntent uiintent = (UIIntent)LuaObject.checkSelf(l);
            string   targetTaskName;
            LuaObject.checkType(l, 2, out targetTaskName);
            uiintent.m_luaExportHelper.TargetTaskName = targetTaskName;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 28
0
        // Token: 0x06014D4B RID: 85323 RVA: 0x005481D8 File Offset: 0x005463D8
        private void InitDataFromUIIntent(UIIntent intent)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null)
            {
                this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[]
                {
                    this,
                    intent
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            UIIntentCustom uiintentCustom = intent as UIIntentCustom;

            if (uiintentCustom != null)
            {
                this.m_energyStatusPosition = uiintentCustom.GetStructParam <Vector3>("EnergyStatusPostion");
            }
        }
Ejemplo n.º 29
0
        // Token: 0x0600F0BB RID: 61627 RVA: 0x00400E0C File Offset: 0x003FF00C
        private void OnAcceptClick()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnAcceptClick_hotfix != null)
            {
                this.m_OnAcceptClick_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            GuildJoinPlayerConfirmReqNetTask guildJoinPlayerConfirmReqNetTask = new GuildJoinPlayerConfirmReqNetTask(this.m_guildJoinInvitation.GuildId);

            guildJoinPlayerConfirmReqNetTask.EventOnStop += delegate(Task task)
            {
                GuildJoinPlayerConfirmReqNetTask guildJoinPlayerConfirmReqNetTask2 = task as GuildJoinPlayerConfirmReqNetTask;
                if (guildJoinPlayerConfirmReqNetTask2.Result == 0)
                {
                    GuildUITask guildUITask    = UIUtility.FindUITaskWithType(typeof(GuildUITask)) as GuildUITask;
                    UIIntent    prevTaskIntent = (guildUITask.CurrentIntent as UIIntentReturnable).PrevTaskIntent;
                    guildUITask.Stop();
                    UIIntent intent = prevTaskIntent;
                    GuildManagementUITask.StartUITask(null, intent);
                    string value = this.m_configDataLoader.GetConfigDataStringTable(14016).Value;
                    CommonUIController.Instance.ShowMessage(value, 2f, null, true);
                }
                else if (guildJoinPlayerConfirmReqNetTask2.Result == -5203)
                {
                    TimeSpan timeSpan = this.m_playerContext.CanJoinGuildCDTime();
                    string   format   = this.m_configDataLoader.UtilityGetStringByStringTable(StringTableId.StringTableId_Guild_JoinGuildCD);
                    CommonUIController.Instance.ShowMessage(string.Format(format, timeSpan.Hours, timeSpan.Minutes + 1), 2f, null, true);
                }
                else
                {
                    CommonUIController.Instance.ShowErrorMessage(guildJoinPlayerConfirmReqNetTask2.Result, 2f, null, true);
                }
                if (this.ItemRefreshEvent != null)
                {
                    this.ItemRefreshEvent();
                }
            };
            guildJoinPlayerConfirmReqNetTask.Start(null);
        }
Ejemplo n.º 30
0
        // Token: 0x0600D85A RID: 55386 RVA: 0x003AD4EC File Offset: 0x003AB6EC
        private void InitDataFromUIIntent(UIIntent intent)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null)
            {
                this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[]
                {
                    this,
                    intent
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            this.m_targetUserId            = string.Empty;
            UIIntentCustom uiintentCustom = intent as UIIntentCustom;

            if (uiintentCustom != null)
            {
                this.m_targetUserId = uiintentCustom.GetClassParam <string>("TargetUserId");
            }
        }