static int SetRelative(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { DG.Tweening.Sequence obj = (DG.Tweening.Sequence)ToLua.CheckObject(L, 1, typeof(DG.Tweening.Sequence)); DG.Tweening.Tween o = obj.SetRelative(); ToLua.PushObject(L, o); return(1); } else if (count == 2) { DG.Tweening.Sequence obj = (DG.Tweening.Sequence)ToLua.CheckObject(L, 1, typeof(DG.Tweening.Sequence)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); DG.Tweening.Tween o = obj.SetRelative(arg0); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Sequence.SetRelative")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int QPYX_SetRelative_YXQP(IntPtr L_YXQP) { try { int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP); if (QPYX_count_YXQP == 1) { DG.Tweening.Sequence QPYX_obj_YXQP = (DG.Tweening.Sequence)ToLua.CheckObject(L_YXQP, 1, typeof(DG.Tweening.Sequence)); DG.Tweening.Tween QPYX_o_YXQP = QPYX_obj_YXQP.SetRelative(); ToLua.PushObject(L_YXQP, QPYX_o_YXQP); return(1); } else if (QPYX_count_YXQP == 2) { DG.Tweening.Sequence QPYX_obj_YXQP = (DG.Tweening.Sequence)ToLua.CheckObject(L_YXQP, 1, typeof(DG.Tweening.Sequence)); bool QPYX_arg0_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 2); DG.Tweening.Tween QPYX_o_YXQP = QPYX_obj_YXQP.SetRelative(QPYX_arg0_YXQP); ToLua.PushObject(L_YXQP, QPYX_o_YXQP); return(1); } else { return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: DG.Tweening.Sequence.SetRelative")); } } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int _m_SetRelative(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DG.Tweening.Sequence __cl_gen_to_be_invoked = (DG.Tweening.Sequence)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 1) { DG.Tweening.Tween __cl_gen_ret = __cl_gen_to_be_invoked.SetRelative( ); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool isRelative = LuaAPI.lua_toboolean(L, 2); DG.Tweening.Tween __cl_gen_ret = __cl_gen_to_be_invoked.SetRelative(isRelative); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to DG.Tweening.Sequence.SetRelative!")); }