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

        try
        {
            UITaskBase.LayerDesc layerDesc = (UITaskBase.LayerDesc)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, layerDesc.m_layerResPath);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            UITaskBase.LayerDesc o = new UITaskBase.LayerDesc();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_layerName(IntPtr l)
    {
        int result;

        try
        {
            UITaskBase.LayerDesc layerDesc = (UITaskBase.LayerDesc)LuaObject.checkSelf(l);
            string layerName;
            LuaObject.checkType(l, 2, out layerName);
            layerDesc.m_layerName = layerName;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_isReserve(IntPtr l)
    {
        int result;

        try
        {
            UITaskBase.LayerDesc layerDesc = (UITaskBase.LayerDesc)LuaObject.checkSelf(l);
            bool isReserve;
            LuaObject.checkType(l, 2, out isReserve);
            layerDesc.m_isReserve = isReserve;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }