static int _m_SetRect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); { JW.Framework.UGUI.stRect rect; translator.Get(L, 2, out rect); __cl_gen_to_be_invoked.SetRect(ref rect); translator.Push(L, rect); translator.Update(L, 2, rect); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Enable(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); { JW.Framework.UGUI.UIListView belongedList = (JW.Framework.UGUI.UIListView)translator.GetObject(L, 2, typeof(JW.Framework.UGUI.UIListView)); int index = LuaAPI.xlua_tointeger(L, 3); string name = LuaAPI.lua_tostring(L, 4); JW.Framework.UGUI.stRect rect; translator.Get(L, 5, out rect); bool selected = LuaAPI.lua_toboolean(L, 6); __cl_gen_to_be_invoked.Enable(belongedList, index, name, ref rect, selected); translator.Push(L, rect); translator.Update(L, 5, rect); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
public void __Gen_Delegate_Imp13(JW.Framework.UGUI.UIListViewItem p0, JW.Framework.UGUI.UIListViewItem p1) { #if THREAD_SAFE || HOTFIX_ENABLE lock (luaEnv.luaEnvLock) { #endif RealStatePtr L = luaEnv.rawL; int err_func = LuaAPI.load_error_func(L, errorFuncRef); ObjectTranslator translator = luaEnv.translator; LuaAPI.lua_getref(L, luaReference); translator.Push(L, p0); translator.Push(L, p1); int __gen_error = LuaAPI.lua_pcall(L, 2, 0, err_func); if (__gen_error != 0) { luaEnv.ThrowExceptionFromError(err_func - 1); } LuaAPI.lua_settop(L, err_func - 1); #if THREAD_SAFE || HOTFIX_ENABLE } #endif }
static int _s_set_PLink(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.PLink = (JW.PLink.PrefabLink)translator.GetObject(L, 2, typeof(JW.PLink.PrefabLink)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_m_autoAddUIEventScript(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.m_autoAddUIEventScript = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_m_selectedSprite(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.m_selectedSprite = (UnityEngine.Sprite)translator.GetObject(L, 2, typeof(UnityEngine.Sprite)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_m_belongedListScript(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.m_belongedListScript); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_m_useSetActiveForDisplay(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.m_useSetActiveForDisplay); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_m_rect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); JW.Framework.UGUI.stRect __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.m_rect = __cl_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) { JW.Framework.UGUI.UIListViewItem __cl_gen_ret = new JW.Framework.UGUI.UIListViewItem(); 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 JW.Framework.UGUI.UIListViewItem constructor!")); }
static int _m_Disable(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); { __cl_gen_to_be_invoked.Disable( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetLastSelectedElement(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListView __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListView)translator.FastGetCSObj(L, 1); { JW.Framework.UGUI.UIListViewItem __cl_gen_ret = __cl_gen_to_be_invoked.GetLastSelectedElement( ); 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_Initialize(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); { JW.Framework.UGUI.UIForm formScript = (JW.Framework.UGUI.UIForm)translator.GetObject(L, 2, typeof(JW.Framework.UGUI.UIForm)); __cl_gen_to_be_invoked.Initialize(formScript); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_SetComponentBelongedList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); { UnityEngine.GameObject gameObject = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); __cl_gen_to_be_invoked.SetComponentBelongedList(gameObject); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_ChangeDisplay(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); { bool selected = LuaAPI.lua_toboolean(L, 2); __cl_gen_to_be_invoked.ChangeDisplay(selected); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_OnSelected(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UIListViewItem __cl_gen_to_be_invoked = (JW.Framework.UGUI.UIListViewItem)translator.FastGetCSObj(L, 1); { UnityEngine.EventSystems.BaseEventData baseEventData = (UnityEngine.EventSystems.BaseEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.BaseEventData)); __cl_gen_to_be_invoked.OnSelected(baseEventData); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }