Exemplo n.º 1
0
        // Token: 0x06011821 RID: 71713 RVA: 0x004881B4 File Offset: 0x004863B4
        private void __callDele_EventOnStartButtonClick(HeroTrainningLevelListItemUIController obj)
        {
            Action <HeroTrainningLevelListItemUIController> eventOnStartButtonClick = this.EventOnStartButtonClick;

            if (eventOnStartButtonClick != null)
            {
                eventOnStartButtonClick(obj);
            }
        }
Exemplo n.º 2
0
 // Token: 0x060117AC RID: 71596 RVA: 0x00486DA0 File Offset: 0x00484FA0
 private void HeroTrainningLevelListItem_OnStartButtonClick(HeroTrainningLevelListItemUIController ctrl)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_HeroTrainningLevelListItem_OnStartButtonClickHeroTrainningLevelListItemUIController_hotfix != null)
     {
         this.m_HeroTrainningLevelListItem_OnStartButtonClickHeroTrainningLevelListItemUIController_hotfix.call(new object[]
         {
             this,
             ctrl
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (this.EventOnStartHeroTrainningLevel != null)
     {
         this.EventOnStartHeroTrainningLevel(ctrl.GetHeroTrainningLevelInfo());
     }
 }
Exemplo n.º 3
0
        // Token: 0x060117A3 RID: 71587 RVA: 0x00486838 File Offset: 0x00484A38
        private void AddHeroTrainningLevelListItem(ConfigDataHeroTrainningLevelInfo levelnfo, bool opened)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_AddHeroTrainningLevelListItemConfigDataHeroTrainningLevelInfoBoolean_hotfix != null)
            {
                this.m_AddHeroTrainningLevelListItemConfigDataHeroTrainningLevelInfoBoolean_hotfix.call(new object[]
                {
                    this,
                    levelnfo,
                    opened
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            GameObject go = UnityEngine.Object.Instantiate <GameObject>(this.m_heroTrainningLevelListItemPrefab, this.m_levelListScrollRect.content, false);
            HeroTrainningLevelListItemUIController heroTrainningLevelListItemUIController = GameObjectUtility.AddControllerToGameObject <HeroTrainningLevelListItemUIController>(go);

            heroTrainningLevelListItemUIController.SetHeroTrainningLevelInfo(levelnfo);
            heroTrainningLevelListItemUIController.SetLocked(!opened);
            heroTrainningLevelListItemUIController.EventOnStartButtonClick += this.HeroTrainningLevelListItem_OnStartButtonClick;
            this.m_heroTrainningLevelListItems.Add(heroTrainningLevelListItemUIController);
        }
Exemplo n.º 4
0
 // Token: 0x06011836 RID: 71734 RVA: 0x004884E0 File Offset: 0x004866E0
 public void __clearDele_EventOnStartButtonClick(HeroTrainningLevelListItemUIController obj)
 {
     this.m_owner.__clearDele_EventOnStartButtonClick(obj);
 }
Exemplo n.º 5
0
 // Token: 0x06011825 RID: 71717 RVA: 0x004883C8 File Offset: 0x004865C8
 public LuaExportHelper(HeroTrainningLevelListItemUIController owner)
 {
     this.m_owner = owner;
 }
Exemplo n.º 6
0
 // Token: 0x06011822 RID: 71714 RVA: 0x004881D8 File Offset: 0x004863D8
 private void __clearDele_EventOnStartButtonClick(HeroTrainningLevelListItemUIController obj)
 {
     this.EventOnStartButtonClick = null;
 }
Exemplo n.º 7
0
 // Token: 0x06011806 RID: 71686 RVA: 0x00487B40 File Offset: 0x00485D40
 public void HeroTrainningLevelListItem_OnStartButtonClick(HeroTrainningLevelListItemUIController ctrl)
 {
     this.m_owner.HeroTrainningLevelListItem_OnStartButtonClick(ctrl);
 }