static int set_loopType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SWS.splineMove obj = (SWS.splineMove)o; SWS.splineMove.LoopType arg0 = (SWS.splineMove.LoopType)ToLua.CheckObject(L, 2, typeof(SWS.splineMove.LoopType)); obj.loopType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index loopType on a nil value")); } }
static int get_loopType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SWS.splineMove obj = (SWS.splineMove)o; SWS.splineMove.LoopType ret = obj.loopType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index loopType on a nil value")); } }