public static int get_Reward(IntPtr l)
    {
        int result;

        try
        {
            BagItemDecomposeNetTask bagItemDecomposeNetTask = (BagItemDecomposeNetTask)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, bagItemDecomposeNetTask.Reward);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            List <ProGoods> goods;
            LuaObject.checkType <List <ProGoods> >(l, 2, out goods);
            BagItemDecomposeNetTask o = new BagItemDecomposeNetTask(goods);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }