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