static int _g_get_TheImage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.ItemUI gen_to_be_invoked = (PackSystem.ItemUI)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.TheImage); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_TheImage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.ItemUI gen_to_be_invoked = (PackSystem.ItemUI)translator.FastGetCSObj(L, 1); gen_to_be_invoked.TheImage = (UnityEngine.UI.Image)translator.GetObject(L, 2, typeof(UnityEngine.UI.Image)); } 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) { PackSystem.ItemUI gen_ret = new PackSystem.ItemUI(); 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 PackSystem.ItemUI constructor!")); }
static int _m_Set_Item(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.ItemUI gen_to_be_invoked = (PackSystem.ItemUI)translator.FastGetCSObj(L, 1); { UnityEngine.Object _Item_Sprite = (UnityEngine.Object)translator.GetObject(L, 2, typeof(UnityEngine.Object)); gen_to_be_invoked.Set_Item(_Item_Sprite); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }