static int _s_set_ClipPanel(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.UIItemRef __cl_gen_to_be_invoked = (xc.ui.UIItemRef)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.ClipPanel = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_ClipPanel(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.UIItemRef __cl_gen_to_be_invoked = (xc.ui.UIItemRef)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.ClipPanel); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ui.UIItemRef __cl_gen_ret = new xc.ui.UIItemRef(); translator.Push(L, __cl_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 xc.ui.UIItemRef constructor!")); }
static int _m_OnDestroy(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.UIItemRef __cl_gen_to_be_invoked = (xc.ui.UIItemRef)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.OnDestroy( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Bind(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.UIItemRef __cl_gen_to_be_invoked = (xc.ui.UIItemRef)translator.FastGetCSObj(L, 1); try { { xc.ui.UIItemNewSlot __cl_gen_ret = __cl_gen_to_be_invoked.Bind( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_ReplaceItemPrefab(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.UIItemRef __cl_gen_to_be_invoked = (xc.ui.UIItemRef)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 2 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool newInstance = LuaAPI.lua_toboolean(L, 2); xc.ui.UIItemNewSlot __cl_gen_ret = __cl_gen_to_be_invoked.ReplaceItemPrefab(newInstance); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 1) { xc.ui.UIItemNewSlot __cl_gen_ret = __cl_gen_to_be_invoked.ReplaceItemPrefab( ); translator.Push(L, __cl_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 xc.ui.UIItemRef.ReplaceItemPrefab!")); }