static int SetUpdate(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.TweenParams), typeof(bool))) { DG.Tweening.TweenParams obj = (DG.Tweening.TweenParams)ToLua.ToObject(L, 1); bool arg0 = LuaDLL.lua_toboolean(L, 2); DG.Tweening.TweenParams o = obj.SetUpdate(arg0); ToLua.PushObject(L, o); return(1); } else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.TweenParams), typeof(DG.Tweening.UpdateType), typeof(bool))) { DG.Tweening.TweenParams obj = (DG.Tweening.TweenParams)ToLua.ToObject(L, 1); DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)ToLua.ToObject(L, 2); bool arg1 = LuaDLL.lua_toboolean(L, 3); DG.Tweening.TweenParams o = obj.SetUpdate(arg0, arg1); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.TweenParams.SetUpdate")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int IntToEnum(IntPtr L) { int arg0 = (int)LuaDLL.lua_tonumber(L, 1); DG.Tweening.UpdateType o = (DG.Tweening.UpdateType)arg0; LuaScriptMgr.Push(L, o); return(1); }
static int QPYX_set_updateType_YXQP(IntPtr L_YXQP) { object QPYX_o_YXQP = null; try { QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1); DG.Tweening.Core.ABSAnimationComponent QPYX_obj_YXQP = (DG.Tweening.Core.ABSAnimationComponent)QPYX_o_YXQP; DG.Tweening.UpdateType QPYX_arg0_YXQP = (DG.Tweening.UpdateType)ToLua.CheckObject(L_YXQP, 2, typeof(DG.Tweening.UpdateType)); QPYX_obj_YXQP.updateType = QPYX_arg0_YXQP; return(0); } catch (Exception QPYX_e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index updateType on a nil value")); } }
static int QPYX_get_updateType_YXQP(IntPtr L_YXQP) { object QPYX_o_YXQP = null; try { QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1); DG.Tweening.Core.ABSAnimationComponent QPYX_obj_YXQP = (DG.Tweening.Core.ABSAnimationComponent)QPYX_o_YXQP; DG.Tweening.UpdateType QPYX_ret_YXQP = QPYX_obj_YXQP.updateType; ToLua.Push(L_YXQP, QPYX_ret_YXQP); return(1); } catch (Exception QPYX_e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index updateType on a nil value")); } }
static void DOTweenSettings_defaultUpdateType(JSVCall vc) { if (vc.bGet) { DG.Tweening.Core.DOTweenSettings _this = (DG.Tweening.Core.DOTweenSettings)vc.csObj; var result = _this.defaultUpdateType; JSApi.setEnum((int)JSApi.SetType.Rval, (int)result); } else { DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)JSApi.getEnum((int)JSApi.GetType.Arg); DG.Tweening.Core.DOTweenSettings _this = (DG.Tweening.Core.DOTweenSettings)vc.csObj; _this.defaultUpdateType = arg0; } }
static int set_updateType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DG.Tweening.Core.ABSAnimationComponent obj = (DG.Tweening.Core.ABSAnimationComponent)o; DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)ToLua.CheckObject(L, 2, typeof(DG.Tweening.UpdateType)); obj.updateType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index updateType on a nil value")); } }
static int get_updateType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DG.Tweening.Core.ABSAnimationComponent obj = (DG.Tweening.Core.ABSAnimationComponent)o; DG.Tweening.UpdateType ret = obj.updateType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index updateType on a nil value")); } }
public DG.Tweening.Tween SetUpdate(DG.Tweening.UpdateType arg1, bool arg2) { return(default(DG.Tweening.Tween)); }
static void Push(IntPtr L, DG.Tweening.UpdateType arg) { ToLua.Push(L, arg); }