예제 #1
0
    static int get_ArrangeType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SuperScrollView.LoopListView2       obj = (SuperScrollView.LoopListView2)o;
            SuperScrollView.ListItemArrangeType ret = obj.ArrangeType;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index ArrangeType on a nil value"));
        }
    }
예제 #2
0
    static int set_ArrangeType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SuperScrollView.LoopListView2       obj  = (SuperScrollView.LoopListView2)o;
            SuperScrollView.ListItemArrangeType arg0 = (SuperScrollView.ListItemArrangeType)ToLua.CheckObject(L, 2, TypeTraits <SuperScrollView.ListItemArrangeType> .type);
            obj.ArrangeType = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index ArrangeType on a nil value"));
        }
    }