static int set_delayRule(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenRandTrigger obj = (BCTweenRandTrigger)o; BCTweenRandTrigger.TweenTimeRule arg0 = (BCTweenRandTrigger.TweenTimeRule)ToLua.CheckObject(L, 2, typeof(BCTweenRandTrigger.TweenTimeRule)); obj.delayRule = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index delayRule on a nil value")); } }
static int get_delayRule(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenRandTrigger obj = (BCTweenRandTrigger)o; BCTweenRandTrigger.TweenTimeRule ret = obj.delayRule; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index delayRule on a nil value")); } }