static int _m_SetSortingOrder(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UIPainter gen_to_be_invoked = (FairyGUI.UIPainter)translator.FastGetCSObj(L, 1); { int _value = LuaAPI.xlua_tointeger(L, 2); bool _apply = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.SetSortingOrder( _value, _apply); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _s_set_sortingOrder(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UIPainter gen_to_be_invoked = (FairyGUI.UIPainter)translator.FastGetCSObj(L, 1); gen_to_be_invoked.sortingOrder = LuaAPI.xlua_tointeger(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_componentName(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UIPainter gen_to_be_invoked = (FairyGUI.UIPainter)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.componentName); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.UIPainter gen_ret = new FairyGUI.UIPainter(); 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.UIPainter constructor!")); }
static int _m_EM_Reload(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UIPainter gen_to_be_invoked = (FairyGUI.UIPainter)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.EM_Reload( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_EM_Update(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UIPainter gen_to_be_invoked = (FairyGUI.UIPainter)translator.FastGetCSObj(L, 1); { FairyGUI.UpdateContext _context = (FairyGUI.UpdateContext)translator.GetObject(L, 2, typeof(FairyGUI.UpdateContext)); gen_to_be_invoked.EM_Update(_context); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_OnUpdateSource(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UIPainter gen_to_be_invoked = (FairyGUI.UIPainter)translator.FastGetCSObj(L, 1); { object[] _data = (object[])translator.GetObject(L, 2, typeof(object[])); gen_to_be_invoked.OnUpdateSource(_data); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_ApplyModifiedProperties(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.UIPainter gen_to_be_invoked = (FairyGUI.UIPainter)translator.FastGetCSObj(L, 1); { bool _sortingOrderChanged = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.ApplyModifiedProperties(_sortingOrderChanged); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }