Ejemplo n.º 1
0
    public static int InitAchievementRelationIds(IntPtr l)
    {
        int result;

        try
        {
            DataSectionHeroDungeon dataSectionHeroDungeon = (DataSectionHeroDungeon)LuaObject.checkSelf(l);
            List <int>             achievementIds;
            LuaObject.checkType <List <int> >(l, 2, out achievementIds);
            dataSectionHeroDungeon.InitAchievementRelationIds(achievementIds);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }