Ejemplo n.º 1
0
    static int set_arrangement(IntPtr L)
    {
        object o = null;

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

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