static int set_arrangeDirection(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LoopScrollView obj = (LoopScrollView)o;
            LoopScrollView.ArrangeDirection arg0 = (LoopScrollView.ArrangeDirection)ToLua.CheckObject(L, 2, typeof(LoopScrollView.ArrangeDirection));
            obj.arrangeDirection = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index arrangeDirection on a nil value"));
        }
    }
    static int get_arrangeDirection(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LoopScrollView obj = (LoopScrollView)o;
            LoopScrollView.ArrangeDirection ret = obj.arrangeDirection;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index arrangeDirection on a nil value"));
        }
    }