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

        try
        {
            DataSectionHeroDungeon dataSectionHeroDungeon = (DataSectionHeroDungeon)LuaObject.checkSelf(l);
            int nums;
            LuaObject.checkType(l, 2, out nums);
            dataSectionHeroDungeon.InitDailyChallengeNums(nums);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }