static StackObject *OnComplete_1(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); DG.Tweening.TweenCallback @action = (DG.Tweening.TweenCallback) typeof(DG.Tweening.TweenCallback).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); DG.Tweening.Tweener @t = (DG.Tweening.Tweener) typeof(DG.Tweening.Tweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = DG.Tweening.TweenSettingsExtensions.OnComplete <DG.Tweening.Tweener>(@t, @action); 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_doLocalMoveTo_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 5 && translator.Assignable <UnityEngine.GameObject>(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <UnityEngine.Vector3>(L, 3) && translator.Assignable <DG.Tweening.TweenCallback>(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); float dur = (float)LuaAPI.lua_tonumber(L, 2); UnityEngine.Vector3 end; translator.Get(L, 3, out end); DG.Tweening.TweenCallback call = translator.GetDelegate <DG.Tweening.TweenCallback>(L, 4); float delay = (float)LuaAPI.lua_tonumber(L, 5); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doLocalMoveTo(obj, dur, end, call, delay); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 4 && translator.Assignable <UnityEngine.GameObject>(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <UnityEngine.Vector3>(L, 3) && translator.Assignable <DG.Tweening.TweenCallback>(L, 4)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); float dur = (float)LuaAPI.lua_tonumber(L, 2); UnityEngine.Vector3 end; translator.Get(L, 3, out end); DG.Tweening.TweenCallback call = translator.GetDelegate <DG.Tweening.TweenCallback>(L, 4); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doLocalMoveTo(obj, dur, end, call); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 3 && translator.Assignable <UnityEngine.GameObject>(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <UnityEngine.Vector3>(L, 3)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); float dur = (float)LuaAPI.lua_tonumber(L, 2); UnityEngine.Vector3 end; translator.Get(L, 3, out end); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doLocalMoveTo(obj, dur, end); 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 LuaExtend.doLocalMoveTo!")); }
static int _m_doUpDownScaleAnim_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 3 && translator.Assignable <UnityEngine.GameObject>(L, 1) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && translator.Assignable <System.Action>(L, 3)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); string title = LuaAPI.lua_tostring(L, 2); System.Action onFinish = translator.GetDelegate <System.Action>(L, 3); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doUpDownScaleAnim(obj, title, onFinish); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && translator.Assignable <UnityEngine.GameObject>(L, 1) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); string title = LuaAPI.lua_tostring(L, 2); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doUpDownScaleAnim(obj, title); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 1 && translator.Assignable <UnityEngine.GameObject>(L, 1)) { UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject)); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doUpDownScaleAnim(obj); 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 LuaExtend.doUpDownScaleAnim!")); }
static StackObject *Pause_0(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); DG.Tweening.Tweener @t = (DG.Tweening.Tweener) typeof(DG.Tweening.Tweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = DG.Tweening.TweenExtensions.Pause <DG.Tweening.Tweener>(@t); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static StackObject *SetAutoKill_6(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 @autoKillOnCompletion = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); DG.Tweening.Tweener @t = (DG.Tweening.Tweener) typeof(DG.Tweening.Tweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = DG.Tweening.TweenSettingsExtensions.SetAutoKill <DG.Tweening.Tweener>(@t, @autoKillOnCompletion); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static StackObject *SetDelay_3(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 @delay = *(float *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); DG.Tweening.Tweener @t = (DG.Tweening.Tweener) typeof(DG.Tweening.Tweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = DG.Tweening.TweenSettingsExtensions.SetDelay <DG.Tweening.Tweener>(@t, @delay); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _m_doFloatTo_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 5 && translator.Assignable <DG.Tweening.Core.DOSetter <float> >(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && translator.Assignable <DG.Tweening.TweenCallback>(L, 5)) { DG.Tweening.Core.DOSetter <float> call = translator.GetDelegate <DG.Tweening.Core.DOSetter <float> >(L, 1); float startValue = (float)LuaAPI.lua_tonumber(L, 2); float endValue = (float)LuaAPI.lua_tonumber(L, 3); float duration = (float)LuaAPI.lua_tonumber(L, 4); DG.Tweening.TweenCallback finish = translator.GetDelegate <DG.Tweening.TweenCallback>(L, 5); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doFloatTo(call, startValue, endValue, duration, finish); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 4 && translator.Assignable <DG.Tweening.Core.DOSetter <float> >(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) { DG.Tweening.Core.DOSetter <float> call = translator.GetDelegate <DG.Tweening.Core.DOSetter <float> >(L, 1); float startValue = (float)LuaAPI.lua_tonumber(L, 2); float endValue = (float)LuaAPI.lua_tonumber(L, 3); float duration = (float)LuaAPI.lua_tonumber(L, 4); DG.Tweening.Tweener __cl_gen_ret = LuaExtend.doFloatTo(call, startValue, endValue, duration); 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 LuaExtend.doFloatTo!")); }
static StackObject *OnComplete_3(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); DG.Tweening.TweenCallback @action = (DG.Tweening.TweenCallback) typeof(DG.Tweening.TweenCallback).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); DG.Tweening.Tweener @t = (DG.Tweening.Tweener) typeof(DG.Tweening.Tweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = DG.Tweening.TweenSettingsExtensions.OnComplete <DG.Tweening.Tweener>(@t, @action); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _m_Float_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { float _from = (float)LuaAPI.lua_tonumber(L, 1); float _to = (float)LuaAPI.lua_tonumber(L, 2); float _duration = (float)LuaAPI.lua_tonumber(L, 3); DG.Tweening.TweenCallback <float> _onVirtualUpdate = translator.GetDelegate <DG.Tweening.TweenCallback <float> >(L, 4); DG.Tweening.Tweener gen_ret = DG.Tweening.DOVirtual.Float(_from, _to, _duration, _onVirtualUpdate); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_TweenRotateY_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { FairyGUI.GObject _target = (FairyGUI.GObject)translator.GetObject(L, 1, typeof(FairyGUI.GObject)); float _startValue = (float)LuaAPI.lua_tonumber(L, 2); float _endValue = (float)LuaAPI.lua_tonumber(L, 3); float _duration = (float)LuaAPI.lua_tonumber(L, 4); DG.Tweening.Tweener gen_ret = Casinos.UiDoTweenHelper.TweenRotateY(_target, _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 int _m_killTweener_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 2 && translator.Assignable <DG.Tweening.Tweener>(L, 1) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { DG.Tweening.Tweener tw = (DG.Tweening.Tweener)translator.GetObject(L, 1, typeof(DG.Tweening.Tweener)); bool doComplete = LuaAPI.lua_toboolean(L, 2); LuaExtend.killTweener(tw, doComplete); return(0); } if (__gen_param_count == 1 && translator.Assignable <DG.Tweening.Tweener>(L, 1)) { DG.Tweening.Tweener tw = (DG.Tweening.Tweener)translator.GetObject(L, 1, typeof(DG.Tweening.Tweener)); LuaExtend.killTweener(tw); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to LuaExtend.killTweener!")); }
public override void SetValue(object value) { mValue = (Tweener)value; }