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 *TweenValue_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.Single @duration = *(float *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Double @value = *(double *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.TweenValue(@value, @duration); 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_Setup_AfterAdd(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GProgressBar gen_to_be_invoked = (FairyGUI.GProgressBar)translator.FastGetCSObj(L, 1); { FairyGUI.Utils.ByteBuffer _buffer = (FairyGUI.Utils.ByteBuffer)translator.GetObject(L, 2, typeof(FairyGUI.Utils.ByteBuffer)); int _beginPos = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.Setup_AfterAdd( _buffer, _beginPos); return(0); } } 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.GProgressBar(); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _s_set_reverse(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GProgressBar gen_to_be_invoked = (FairyGUI.GProgressBar)translator.FastGetCSObj(L, 1); gen_to_be_invoked.reverse = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
public static Tweener DoMax(this FairyGUI.GProgressBar target, float endValue, float duration) { return(DOTween.To(() => { return (float)target.max; }, (float val) => { //target.transform.position.Move(pos - target.transform.position); target.max = (double)val; }, endValue, duration)); }
static int _g_get_value(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GProgressBar gen_to_be_invoked = (FairyGUI.GProgressBar)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.value); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_titleType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GProgressBar gen_to_be_invoked = (FairyGUI.GProgressBar)translator.FastGetCSObj(L, 1); FairyGUI.ProgressTitleType gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.titleType = gen_value; } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static StackObject *get_titleType_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); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.titleType; return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static StackObject *Dispose_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Dispose(); return(__ret); }
static StackObject *get_max_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); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).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 = instance_of_this_method.max; __ret->ObjectType = ObjectTypes.Double; *(double *)&__ret->Value = result_of_this_method; return(__ret + 1); }
static StackObject *get_reverse_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.reverse; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return(__ret + 1); }
static StackObject *Update_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); System.Double @newValue = *(double *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Update(@newValue); return(__ret); }
static StackObject *set_reverse_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.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.reverse = value; return(__ret); }
static StackObject *set_min_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.Double @value = *(double *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.min = value; return(__ret); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.GProgressBar gen_ret = new FairyGUI.GProgressBar(); 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.GProgressBar constructor!")); }
static StackObject *Setup_AfterAdd_10(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.Int32 @beginPos = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.Utils.ByteBuffer @buffer = (FairyGUI.Utils.ByteBuffer) typeof(FairyGUI.Utils.ByteBuffer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); FairyGUI.GProgressBar instance_of_this_method = (FairyGUI.GProgressBar) typeof(FairyGUI.GProgressBar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Setup_AfterAdd(@buffer, @beginPos); return(__ret); }
static int _m_Dispose(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GProgressBar gen_to_be_invoked = (FairyGUI.GProgressBar)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Dispose( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Update(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GProgressBar gen_to_be_invoked = (FairyGUI.GProgressBar)translator.FastGetCSObj(L, 1); { double _newValue = LuaAPI.lua_tonumber(L, 2); gen_to_be_invoked.Update(_newValue); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }