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 GetTween(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { object arg0 = ToLua.ToVarObject(L, 1); FairyGUI.GTweener o = FairyGUI.GTween.GetTween(arg0); ToLua.PushObject(L, o); return(1); } else if (count == 2) { object arg0 = ToLua.ToVarObject(L, 1); FairyGUI.TweenPropType arg1 = (FairyGUI.TweenPropType)ToLua.CheckObject(L, 2, typeof(FairyGUI.TweenPropType)); FairyGUI.GTweener o = FairyGUI.GTween.GetTween(arg0, arg1); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GTween.GetTween")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetTarget(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { FairyGUI.GTweener obj = (FairyGUI.GTweener)ToLua.CheckObject <FairyGUI.GTweener>(L, 1); object arg0 = ToLua.ToVarObject(L, 2); FairyGUI.GTweener o = obj.SetTarget(arg0); ToLua.PushObject(L, o); return(1); } else if (count == 3) { FairyGUI.GTweener obj = (FairyGUI.GTweener)ToLua.CheckObject <FairyGUI.GTweener>(L, 1); object arg0 = ToLua.ToVarObject(L, 2); FairyGUI.TweenPropType arg1 = (FairyGUI.TweenPropType)ToLua.CheckObject(L, 3, typeof(FairyGUI.TweenPropType)); FairyGUI.GTweener o = obj.SetTarget(arg0, arg1); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GTweener.SetTarget")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static StackObject *GetTween_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, 2); 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), (CLR.Utils.Extensions.TypeFlags) 20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Object @target = (System.Object) typeof(System.Object).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 = FairyGUI.GTween.GetTween(@target, @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 IntToEnum(IntPtr L) { int arg0 = (int)LuaDLL.lua_tonumber(L, 1); FairyGUI.TweenPropType o = (FairyGUI.TweenPropType)arg0; ToLua.Push(L, o); return(1); }
static StackObject *IsTweening_9(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.TweenPropType @propType = (FairyGUI.TweenPropType) typeof(FairyGUI.TweenPropType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Object @target = (System.Object) typeof(System.Object).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 = FairyGUI.GTween.IsTweening(@target, @propType); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return(__ret + 1); }
static StackObject *Kill_12(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 @complete = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.TweenPropType @propType = (FairyGUI.TweenPropType) typeof(FairyGUI.TweenPropType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Object @target = (System.Object) typeof(System.Object).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); FairyGUI.GTween.Kill(@target, @propType, @complete); return(__ret); }
static int Kill(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { object arg0 = ToLua.ToVarObject(L, 1); FairyGUI.GTween.Kill(arg0); return(0); } else if (count == 2) { object arg0 = ToLua.ToVarObject(L, 1); bool arg1 = LuaDLL.luaL_checkboolean(L, 2); FairyGUI.GTween.Kill(arg0, arg1); return(0); } else if (count == 3) { object arg0 = ToLua.ToVarObject(L, 1); FairyGUI.TweenPropType arg1 = (FairyGUI.TweenPropType)ToLua.CheckObject(L, 2, typeof(FairyGUI.TweenPropType)); bool arg2 = LuaDLL.luaL_checkboolean(L, 3); FairyGUI.GTween.Kill(arg0, arg1, arg2); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GTween.Kill")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static void Push(IntPtr L, FairyGUI.TweenPropType arg) { ToLua.Push(L, arg); }