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")); } }
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")); } }