static int _m_EnterClipping(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UpdateContext gen_to_be_invoked = (FairyGUI.UpdateContext)translator.FastGetCSObj(L, 1); { uint _clipId = LuaAPI.xlua_touint(L, 2); System.Nullable <UnityEngine.Rect> _clipRect; translator.Get(L, 3, out _clipRect); System.Nullable <UnityEngine.Vector4> _softness; translator.Get(L, 4, out _softness); bool _reversedMask = LuaAPI.lua_toboolean(L, 5); gen_to_be_invoked.EnterClipping( _clipId, _clipRect, _softness, _reversedMask); 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.NGraphics gen_to_be_invoked = (FairyGUI.NGraphics)translator.FastGetCSObj(L, 1); { FairyGUI.UpdateContext _context = (FairyGUI.UpdateContext)translator.GetObject(L, 2, typeof(FairyGUI.UpdateContext)); float _alpha = (float)LuaAPI.lua_tonumber(L, 3); bool _grayed = LuaAPI.lua_toboolean(L, 4); gen_to_be_invoked.Update(_context, _alpha, _grayed); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _s_set_grayed(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UpdateContext gen_to_be_invoked = (FairyGUI.UpdateContext)translator.FastGetCSObj(L, 1); gen_to_be_invoked.grayed = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_alpha(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UpdateContext gen_to_be_invoked = (FairyGUI.UpdateContext)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.alpha); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_clipInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UpdateContext gen_to_be_invoked = (FairyGUI.UpdateContext)translator.FastGetCSObj(L, 1); FairyGUI.UpdateContext.ClipInfo gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.clipInfo = gen_value; } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.UpdateContext gen_ret = new FairyGUI.UpdateContext(); 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.UpdateContext constructor!")); }
static StackObject *EM_Update_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.UpdateContext @context = (FairyGUI.UpdateContext) typeof(FairyGUI.UpdateContext).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.UIPanel instance_of_this_method = (FairyGUI.UIPanel) typeof(FairyGUI.UIPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.EM_Update(@context); return(__ret); }
static StackObject *Update_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); FairyGUI.UpdateContext @context = (FairyGUI.UpdateContext) typeof(FairyGUI.UpdateContext).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); FairyGUI.GoWrapper instance_of_this_method = (FairyGUI.GoWrapper) typeof(FairyGUI.GoWrapper).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Update(@context); return(__ret); }
static int _m_LeaveClipping(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UpdateContext gen_to_be_invoked = (FairyGUI.UpdateContext)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.LeaveClipping( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
public void __Gen_Delegate_Imp33(FairyGUI.UpdateContext 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 int _m_EnterClipping(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UpdateContext gen_to_be_invoked = (FairyGUI.UpdateContext)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)) { uint _clipId = LuaAPI.xlua_touint(L, 2); bool _reversedMask = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.EnterClipping(_clipId, _reversedMask); return(0); } if (gen_param_count == 4 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && translator.Assignable <UnityEngine.Rect>(L, 3) && translator.Assignable <System.Nullable <UnityEngine.Vector4> >(L, 4)) { uint _clipId = LuaAPI.xlua_touint(L, 2); UnityEngine.Rect _clipRect; translator.Get(L, 3, out _clipRect); System.Nullable <UnityEngine.Vector4> _softness; translator.Get(L, 4, out _softness); gen_to_be_invoked.EnterClipping(_clipId, _clipRect, _softness); 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.UpdateContext.EnterClipping!")); }
static int _m_Update(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.GoWrapper gen_to_be_invoked = (FairyGUI.GoWrapper)translator.FastGetCSObj(L, 1); { FairyGUI.UpdateContext _context = (FairyGUI.UpdateContext)translator.GetObject(L, 2, typeof(FairyGUI.UpdateContext)); gen_to_be_invoked.Update(_context); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_ApplyAlphaMaskProperties(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UpdateContext gen_to_be_invoked = (FairyGUI.UpdateContext)translator.FastGetCSObj(L, 1); { UnityEngine.Material _mat = (UnityEngine.Material)translator.GetObject(L, 2, typeof(UnityEngine.Material)); bool _erasing = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.ApplyAlphaMaskProperties(_mat, _erasing); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }