コード例 #1
0
    public static int get_InteractHeroPerformances_ID(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, configDataHeroInformationInfo.InteractHeroPerformances_ID);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #2
0
    public static int get_FavourabilityLevelUpReward(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, configDataHeroInformationInfo.FavourabilityLevelUpReward);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #3
0
    public static int get_IsDungeonLevelsUnLock(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, configDataHeroInformationInfo.IsDungeonLevelsUnLock);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #4
0
    public static int get_m_fetterInfos(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, configDataHeroInformationInfo.m_fetterInfos);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #5
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo o = new ConfigDataHeroInformationInfo();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #6
0
        // Token: 0x0600CE0A RID: 52746 RVA: 0x0038B4F8 File Offset: 0x003896F8
        private void CreatePathItemList(List <GetPathData> getPathList, string getPathDesc)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CreatePathItemListList ` 1String_hotfix != null)
            {
                this.m_CreatePathItemListList ` 1String_hotfix.call(new object[]
                {
                    this,
                    getPathList,
                    getPathDesc
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            GameObjectUtility.DestroyChildren(this.m_contentObj);
            if (getPathList == null || getPathList.Count == 0)
            {
                this.m_tips.gameObject.SetActive(true);
                this.m_tipsText.text = getPathDesc;
                return;
            }
            this.m_tips.gameObject.SetActive(false);
            IConfigDataLoader configDataLoader = GameManager.Instance.ConfigDataLoader as IConfigDataLoader;

            foreach (GetPathData getPathData in getPathList)
            {
                if (getPathData.PathType == GetPathType.GetPathType_HeroDungeon)
                {
                    ConfigDataHeroDungeonLevelInfo configDataHeroDungeonLevelInfo = configDataLoader.GetConfigDataHeroDungeonLevelInfo(getPathData.ID);
                    if (configDataHeroDungeonLevelInfo == null)
                    {
                        continue;
                    }
                    ConfigDataHeroInformationInfo configDataHeroInformationInfo = configDataLoader.GetConfigDataHeroInformationInfo(configDataHeroDungeonLevelInfo.m_chapterId);
                    if (configDataHeroInformationInfo == null || !configDataHeroInformationInfo.IsDungeonLevelsUnLock)
                    {
                        continue;
                    }
                }
                GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.m_itemPrefab);
                GetPathItemUIController getPathItemUIController = GameObjectUtility.AddControllerToGameObject <GetPathItemUIController>(gameObject);
                getPathItemUIController.EventOnGotoButtonClick += this.OnGetPathItemGotoButtonClick;
                getPathItemUIController.SetGetPath(getPathData);
                gameObject.transform.SetParent(this.m_contentObj.transform, false);
            }
        }
コード例 #7
0
    public static int set_SendRewardsPerformance(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            int sendRewardsPerformance;
            LuaObject.checkType(l, 2, out sendRewardsPerformance);
            configDataHeroInformationInfo.SendRewardsPerformance = sendRewardsPerformance;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #8
0
    public static int set_FavorabilityMaxLevel(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            int favorabilityMaxLevel;
            LuaObject.checkType(l, 2, out favorabilityMaxLevel);
            configDataHeroInformationInfo.FavorabilityMaxLevel = favorabilityMaxLevel;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #9
0
    public static int set_Reward3Star(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            int reward3Star;
            LuaObject.checkType(l, 2, out reward3Star);
            configDataHeroInformationInfo.Reward3Star = reward3Star;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #10
0
    public static int set_m_fetterInfos(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo   configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            List <ConfigDataHeroFetterInfo> fetterInfos;
            LuaObject.checkType <List <ConfigDataHeroFetterInfo> >(l, 2, out fetterInfos);
            configDataHeroInformationInfo.m_fetterInfos = fetterInfos;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #11
0
    public static int set_HeroPerformance_ID(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            int heroPerformance_ID;
            LuaObject.checkType(l, 2, out heroPerformance_ID);
            configDataHeroInformationInfo.HeroPerformance_ID = heroPerformance_ID;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #12
0
    public static int set_Name(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            string name;
            LuaObject.checkType(l, 2, out name);
            configDataHeroInformationInfo.Name = name;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #13
0
    public static int set_m_heroInfo(IntPtr l)
    {
        int result;

        try
        {
            ConfigDataHeroInformationInfo configDataHeroInformationInfo = (ConfigDataHeroInformationInfo)LuaObject.checkSelf(l);
            ConfigDataHeroInfo            heroInfo;
            LuaObject.checkType <ConfigDataHeroInfo>(l, 2, out heroInfo);
            configDataHeroInformationInfo.m_heroInfo = heroInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #14
0
 // Token: 0x06007233 RID: 29235 RVA: 0x001FA508 File Offset: 0x001F8708
 public List <Goods> __callBase_GetHeroDungeonChapterStarRewards(ConfigDataHeroInformationInfo chapterInfo, int index)
 {
     return(this.m_owner.__callBase_GetHeroDungeonChapterStarRewards(chapterInfo, index));
 }
コード例 #15
0
 // Token: 0x06007216 RID: 29206 RVA: 0x001FA110 File Offset: 0x001F8310
 private List <Goods> __callBase_GetHeroDungeonChapterStarRewards(ConfigDataHeroInformationInfo chapterInfo, int index)
 {
     return(base.GetHeroDungeonChapterStarRewards(chapterInfo, index));
 }