static bool TweenParams_SetUpdate__UpdateType__Boolean(JSVCall vc, int argc) { int len = argc; if (len == 1) { DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)JSApi.getEnum((int)JSApi.GetType.Arg); JSMgr.datax.setObject((int)JSApi.SetType.Rval, ((DG.Tweening.TweenParams)vc.csObj).SetUpdate(arg0)); } else if (len == 2) { DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)JSApi.getEnum((int)JSApi.GetType.Arg); System.Boolean arg1 = (System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.Arg); JSMgr.datax.setObject((int)JSApi.SetType.Rval, ((DG.Tweening.TweenParams)vc.csObj).SetUpdate(arg0, arg1)); } return(true); }
static int SetUpdate(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes <DG.Tweening.Tween, DG.Tweening.UpdateType>(L, 1)) { DG.Tweening.Tweener obj = (DG.Tweening.Tweener)ToLua.ToObject(L, 1); DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)ToLua.ToObject(L, 2); DG.Tweening.Tween o = obj.SetUpdate(arg0); ToLua.PushObject(L, o); return(1); } else if (count == 2 && TypeChecker.CheckTypes <DG.Tweening.Tween, bool>(L, 1)) { DG.Tweening.Tweener obj = (DG.Tweening.Tweener)ToLua.ToObject(L, 1); bool arg0 = LuaDLL.lua_toboolean(L, 2); DG.Tweening.Tween o = obj.SetUpdate(arg0); ToLua.PushObject(L, o); return(1); } else if (count == 3) { DG.Tweening.Tweener obj = (DG.Tweening.Tweener)ToLua.CheckObject <DG.Tweening.Tweener>(L, 1); DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)ToLua.CheckObject(L, 2, typeof(DG.Tweening.UpdateType)); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); DG.Tweening.Tween o = obj.SetUpdate(arg0, arg1); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tweener.SetUpdate")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int QPYX_SetUpdate_YXQP(IntPtr L_YXQP) { try { int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP); if (QPYX_count_YXQP == 2 && TypeChecker.CheckTypes <DG.Tweening.Tween, bool>(L_YXQP, 1)) { DG.Tweening.Tweener QPYX_obj_YXQP = (DG.Tweening.Tweener)ToLua.ToObject(L_YXQP, 1); bool QPYX_arg0_YXQP = LuaDLL.lua_toboolean(L_YXQP, 2); DG.Tweening.Tween QPYX_o_YXQP = QPYX_obj_YXQP.SetUpdate(QPYX_arg0_YXQP); ToLua.PushObject(L_YXQP, QPYX_o_YXQP); return(1); } else if (QPYX_count_YXQP == 2 && TypeChecker.CheckTypes <DG.Tweening.Tween, DG.Tweening.UpdateType>(L_YXQP, 1)) { DG.Tweening.Tweener QPYX_obj_YXQP = (DG.Tweening.Tweener)ToLua.ToObject(L_YXQP, 1); DG.Tweening.UpdateType QPYX_arg0_YXQP = (DG.Tweening.UpdateType)ToLua.ToObject(L_YXQP, 2); DG.Tweening.Tween QPYX_o_YXQP = QPYX_obj_YXQP.SetUpdate(QPYX_arg0_YXQP); ToLua.PushObject(L_YXQP, QPYX_o_YXQP); return(1); } else if (QPYX_count_YXQP == 3) { DG.Tweening.Tweener QPYX_obj_YXQP = (DG.Tweening.Tweener)ToLua.CheckObject <DG.Tweening.Tweener>(L_YXQP, 1); DG.Tweening.UpdateType QPYX_arg0_YXQP = (DG.Tweening.UpdateType)ToLua.CheckObject(L_YXQP, 2, typeof(DG.Tweening.UpdateType)); bool QPYX_arg1_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 3); DG.Tweening.Tween QPYX_o_YXQP = QPYX_obj_YXQP.SetUpdate(QPYX_arg0_YXQP, QPYX_arg1_YXQP); ToLua.PushObject(L_YXQP, QPYX_o_YXQP); return(1); } else { return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: DG.Tweening.Tweener.SetUpdate")); } } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int SetUpdate(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 2 && LuaScriptMgr.CheckTypes(L, 1, typeof(DG.Tweening.Tween), typeof(DG.Tweening.UpdateType))) { DG.Tweening.Tween obj = (DG.Tweening.Tween)LuaScriptMgr.GetNetObjectSelf(L, 1, "DG.Tweening.Tween"); DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)LuaScriptMgr.GetLuaObject(L, 2); DG.Tweening.Tween o = obj.SetUpdate(arg0); LuaScriptMgr.PushObject(L, o); return(1); } else if (count == 2 && LuaScriptMgr.CheckTypes(L, 1, typeof(DG.Tweening.Tween), typeof(bool))) { DG.Tweening.Tween obj = (DG.Tweening.Tween)LuaScriptMgr.GetNetObjectSelf(L, 1, "DG.Tweening.Tween"); bool arg0 = LuaDLL.lua_toboolean(L, 2); DG.Tweening.Tween o = obj.SetUpdate(arg0); LuaScriptMgr.PushObject(L, o); return(1); } else if (count == 3) { DG.Tweening.Tween obj = (DG.Tweening.Tween)LuaScriptMgr.GetNetObjectSelf(L, 1, "DG.Tweening.Tween"); DG.Tweening.UpdateType arg0 = (DG.Tweening.UpdateType)LuaScriptMgr.GetNetObject(L, 2, typeof(DG.Tweening.UpdateType)); bool arg1 = LuaScriptMgr.GetBoolean(L, 3); DG.Tweening.Tween o = obj.SetUpdate(arg0, arg1); LuaScriptMgr.PushObject(L, o); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: DG.Tweening.Tween.SetUpdate"); } return(0); }