static int _m_SetPaused(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); { bool _paused = LuaAPI.lua_toboolean(L, 2); FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetPaused( _paused); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_ToDouble_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { double _startValue = LuaAPI.lua_tonumber(L, 1); double _endValue = LuaAPI.lua_tonumber(L, 2); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = FairyGUI.GTween.ToDouble( _startValue, _endValue, _duration); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static StackObject *SetTarget_14(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.TweenPropType @propType = (FairyGUI.TweenPropType) typeof(FairyGUI.TweenPropType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Object @value = (System.Object) typeof(System.Object).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); FairyGUI.GTweener instance_of_this_method = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.SetTarget(@value, @propType); object obj_result_of_this_method = result_of_this_method; if (obj_result_of_this_method is CrossBindingAdaptorType) { return(ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance)); } return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _m_Shake_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { UnityEngine.Vector3 _startValue; translator.Get(L, 1, out _startValue); float _amplitude = (float)LuaAPI.lua_tonumber(L, 2); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = FairyGUI.GTween.Shake( _startValue, _amplitude, _duration); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static StackObject *SetRepeat_8(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @yoyo = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Int32 @repeat = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); FairyGUI.GTweener instance_of_this_method = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.SetRepeat(@repeat, @yoyo); object obj_result_of_this_method = result_of_this_method; if (obj_result_of_this_method is CrossBindingAdaptorType) { return(ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance)); } return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _m_SetListener(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); { FairyGUI.ITweenListener _value = (FairyGUI.ITweenListener)translator.GetObject(L, 2, typeof(FairyGUI.ITweenListener)); FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetListener( _value); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Kill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 2 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool _complete = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.Kill(_complete); return(0); } if (gen_param_count == 1) { gen_to_be_invoked.Kill( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.GTweener.Kill!")); }
public void __Gen_Delegate_Imp41(FairyGUI.GTweener p0) { #if THREAD_SAFE || HOTFIX_ENABLE lock (luaEnv.luaEnvLock) { #endif RealStatePtr L = luaEnv.rawL; int err_func = LuaAPI.load_error_func(L, errorFuncRef); ObjectTranslator translator = luaEnv.translator; LuaAPI.lua_getref(L, luaReference); translator.Push(L, p0); int __gen_error = LuaAPI.lua_pcall(L, 1, 0, err_func); if (__gen_error != 0) { luaEnv.ThrowExceptionFromError(err_func - 1); } LuaAPI.lua_settop(L, err_func - 1); #if THREAD_SAFE || HOTFIX_ENABLE } #endif }
static int _m_SetTimeScale(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); { float _value = (float)LuaAPI.lua_tonumber(L, 2); FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetTimeScale( _value); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_TweenValue(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GProgressBar gen_to_be_invoked = (FairyGUI.GProgressBar)translator.FastGetCSObj(L, 1); { double _value = LuaAPI.lua_tonumber(L, 2); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = gen_to_be_invoked.TweenValue( _value, _duration); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *__ret = ILIntepreter.Minus(__esp, 0); var result_of_this_method = new FairyGUI.GTweener(); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _g_get_deltaValue(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.deltaValue); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _g_get_allCompleted(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.allCompleted); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static StackObject *get_allCompleted_31(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.GTweener instance_of_this_method = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.allCompleted; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return(__ret + 1); }
static StackObject *Seek_33(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @time = *(float *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GTweener instance_of_this_method = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Seek(@time); return(__ret); }
static StackObject *Kill_34(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @complete = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GTweener instance_of_this_method = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Kill(@complete); return(__ret); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.GTweener gen_ret = new FairyGUI.GTweener(); translator.Push(L, 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 FairyGUI.GTweener constructor!")); }
static StackObject *OnTweenUpdate_2(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.GTweener @tweener = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GearColor instance_of_this_method = (FairyGUI.GearColor) typeof(FairyGUI.GearColor).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.OnTweenUpdate(@tweener); return(__ret); }
static StackObject *OnTweenComplete_27(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.GTweener @tweener = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.Transition instance_of_this_method = (FairyGUI.Transition) typeof(FairyGUI.Transition).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.OnTweenComplete(@tweener); return(__ret); }
static int _m_SetRepeat(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { int _repeat = LuaAPI.xlua_tointeger(L, 2); bool _yoyo = LuaAPI.lua_toboolean(L, 3); FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetRepeat( _repeat, _yoyo); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int _repeat = LuaAPI.xlua_tointeger(L, 2); FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetRepeat( _repeat); translator.Push(L, 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 FairyGUI.GTweener.SetRepeat!")); }
static int _m_SetTarget(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 2 && translator.Assignable <object>(L, 2)) { object _value = translator.GetObject(L, 2, typeof(object)); FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetTarget( _value); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 3 && translator.Assignable <object>(L, 2) && translator.Assignable <FairyGUI.TweenPropType>(L, 3)) { object _value = translator.GetObject(L, 2, typeof(object)); FairyGUI.TweenPropType _propType; translator.Get(L, 3, out _propType); FairyGUI.GTweener gen_ret = gen_to_be_invoked.SetTarget( _value, _propType); translator.Push(L, 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 FairyGUI.GTweener.SetTarget!")); }
static StackObject *get_userData_17(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.GTweener instance_of_this_method = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.userData; object obj_result_of_this_method = result_of_this_method; if (obj_result_of_this_method is CrossBindingAdaptorType) { return(ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance, true)); } return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method, true)); }
static int _m_GetTween_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 1 && translator.Assignable <object>(L, 1)) { object _target = translator.GetObject(L, 1, typeof(object)); FairyGUI.GTweener gen_ret = FairyGUI.GTween.GetTween( _target); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 2 && translator.Assignable <object>(L, 1) && translator.Assignable <FairyGUI.TweenPropType>(L, 2)) { object _target = translator.GetObject(L, 1, typeof(object)); FairyGUI.TweenPropType _propType; translator.Get(L, 2, out _propType); FairyGUI.GTweener gen_ret = FairyGUI.GTween.GetTween( _target, _propType); translator.Push(L, 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 FairyGUI.GTween.GetTween!")); }
static int _m_OnComplete(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 2 && translator.Assignable <FairyGUI.GTweenCallback>(L, 2)) { FairyGUI.GTweenCallback _callback = translator.GetDelegate <FairyGUI.GTweenCallback>(L, 2); FairyGUI.GTweener gen_ret = gen_to_be_invoked.OnComplete( _callback); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 2 && translator.Assignable <FairyGUI.GTweenCallback1>(L, 2)) { FairyGUI.GTweenCallback1 _callback = translator.GetDelegate <FairyGUI.GTweenCallback1>(L, 2); FairyGUI.GTweener gen_ret = gen_to_be_invoked.OnComplete( _callback); translator.Push(L, 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 FairyGUI.GTweener.OnComplete!")); }
static int _m_DelayedCall_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { float _delay = (float)LuaAPI.lua_tonumber(L, 1); FairyGUI.GTweener gen_ret = FairyGUI.GTween.DelayedCall(_delay); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
public void __Gen_Delegate_Imp40(FairyGUI.GTweener p0) { #if THREAD_SAFE || HOTFIX_ENABLE lock (luaEnv.luaEnvLock) { #endif RealStatePtr L = luaEnv.rawL; int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); ObjectTranslator translator = luaEnv.translator; translator.Push(L, p0); PCall(L, 1, 0, errFunc); LuaAPI.lua_settop(L, errFunc - 1); #if THREAD_SAFE || HOTFIX_ENABLE } #endif }
static StackObject *SetEaseOvershootOrAmplitude_7(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GTweener instance_of_this_method = (FairyGUI.GTweener) typeof(FairyGUI.GTweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.SetEaseOvershootOrAmplitude(@value); object obj_result_of_this_method = result_of_this_method; if (obj_result_of_this_method is CrossBindingAdaptorType) { return(ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance)); } return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _m_OnTweenStart(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GearSize gen_to_be_invoked = (FairyGUI.GearSize)translator.FastGetCSObj(L, 1); { FairyGUI.GTweener _tweener = (FairyGUI.GTweener)translator.GetObject(L, 2, typeof(FairyGUI.GTweener)); gen_to_be_invoked.OnTweenStart(_tweener); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_OnUpdateForce(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GTweener gen_to_be_invoked = (FairyGUI.GTweener)translator.FastGetCSObj(L, 1); { FairyGUI.GTweenCallback1 _callback = translator.GetDelegate <FairyGUI.GTweenCallback1>(L, 2); FairyGUI.GTweener gen_ret = gen_to_be_invoked.OnUpdateForce(_callback); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_To_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { float _startValue = (float)LuaAPI.lua_tonumber(L, 1); float _endValue = (float)LuaAPI.lua_tonumber(L, 2); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = FairyGUI.GTween.To(_startValue, _endValue, _duration); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 3 && translator.Assignable <UnityEngine.Vector2>(L, 1) && translator.Assignable <UnityEngine.Vector2>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { UnityEngine.Vector2 _startValue; translator.Get(L, 1, out _startValue); UnityEngine.Vector2 _endValue; translator.Get(L, 2, out _endValue); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = FairyGUI.GTween.To(_startValue, _endValue, _duration); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 3 && translator.Assignable <UnityEngine.Vector3>(L, 1) && translator.Assignable <UnityEngine.Vector3>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { UnityEngine.Vector3 _startValue; translator.Get(L, 1, out _startValue); UnityEngine.Vector3 _endValue; translator.Get(L, 2, out _endValue); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = FairyGUI.GTween.To(_startValue, _endValue, _duration); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 3 && translator.Assignable <UnityEngine.Vector4>(L, 1) && translator.Assignable <UnityEngine.Vector4>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { UnityEngine.Vector4 _startValue; translator.Get(L, 1, out _startValue); UnityEngine.Vector4 _endValue; translator.Get(L, 2, out _endValue); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = FairyGUI.GTween.To(_startValue, _endValue, _duration); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 3 && translator.Assignable <UnityEngine.Color>(L, 1) && translator.Assignable <UnityEngine.Color>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { UnityEngine.Color _startValue; translator.Get(L, 1, out _startValue); UnityEngine.Color _endValue; translator.Get(L, 2, out _endValue); float _duration = (float)LuaAPI.lua_tonumber(L, 3); FairyGUI.GTweener gen_ret = FairyGUI.GTween.To(_startValue, _endValue, _duration); translator.Push(L, 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 FairyGUI.GTween.To!")); }