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