Esempio n. 1
0
        // Token: 0x060143F9 RID: 82937 RVA: 0x00526C08 File Offset: 0x00524E08
        private void __callDele_EventOnStartButtonClick(TreasureLevelListItemUIController obj)
        {
            Action <TreasureLevelListItemUIController> eventOnStartButtonClick = this.EventOnStartButtonClick;

            if (eventOnStartButtonClick != null)
            {
                eventOnStartButtonClick(obj);
            }
        }
Esempio n. 2
0
 // Token: 0x06014373 RID: 82803 RVA: 0x00525238 File Offset: 0x00523438
 private void ThreasureLevelListItem_OnStartButtonClick(TreasureLevelListItemUIController ctrl)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ThreasureLevelListItem_OnStartButtonClickTreasureLevelListItemUIController_hotfix != null)
     {
         this.m_ThreasureLevelListItem_OnStartButtonClickTreasureLevelListItemUIController_hotfix.call(new object[]
         {
             this,
             ctrl
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (this.EventOnStartTreasureLevel != null)
     {
         this.EventOnStartTreasureLevel(ctrl.GetTreasureLevelInfo());
     }
 }
Esempio n. 3
0
        // Token: 0x0601436E RID: 82798 RVA: 0x00524F88 File Offset: 0x00523188
        public void AddTreasureLevelButton(ConfigDataTreasureLevelInfo levelnfo, bool opened)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_AddTreasureLevelButtonConfigDataTreasureLevelInfoBoolean_hotfix != null)
            {
                this.m_AddTreasureLevelButtonConfigDataTreasureLevelInfoBoolean_hotfix.call(new object[]
                {
                    this,
                    levelnfo,
                    opened
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            GameObject go = UnityEngine.Object.Instantiate <GameObject>(this.m_treasureLevelListItemPrefab, this.m_levelListScrollRect.content, false);
            TreasureLevelListItemUIController treasureLevelListItemUIController = GameObjectUtility.AddControllerToGameObject <TreasureLevelListItemUIController>(go);

            treasureLevelListItemUIController.SetTreasureLevelInfo(levelnfo);
            treasureLevelListItemUIController.SetLocked(!opened, levelnfo);
            treasureLevelListItemUIController.EventOnStartButtonClick += this.ThreasureLevelListItem_OnStartButtonClick;
            this.m_treasureLevelListItems.Add(treasureLevelListItemUIController);
        }
Esempio n. 4
0
 // Token: 0x0601440E RID: 82958 RVA: 0x00526F34 File Offset: 0x00525134
 public void __clearDele_EventOnStartButtonClick(TreasureLevelListItemUIController obj)
 {
     this.m_owner.__clearDele_EventOnStartButtonClick(obj);
 }
Esempio n. 5
0
 // Token: 0x060143FD RID: 82941 RVA: 0x00526E1C File Offset: 0x0052501C
 public LuaExportHelper(TreasureLevelListItemUIController owner)
 {
     this.m_owner = owner;
 }
Esempio n. 6
0
 // Token: 0x060143FA RID: 82938 RVA: 0x00526C2C File Offset: 0x00524E2C
 private void __clearDele_EventOnStartButtonClick(TreasureLevelListItemUIController obj)
 {
     this.EventOnStartButtonClick = null;
 }
Esempio n. 7
0
 // Token: 0x060143D0 RID: 82896 RVA: 0x00525FA4 File Offset: 0x005241A4
 public void ThreasureLevelListItem_OnStartButtonClick(TreasureLevelListItemUIController ctrl)
 {
     this.m_owner.ThreasureLevelListItem_OnStartButtonClick(ctrl);
 }