static int _s_set_dataCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Game.LoopList __cl_gen_to_be_invoked = (Game.LoopList)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.dataCount = LuaAPI.xlua_tointeger(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_onClick(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Game.LoopList __cl_gen_to_be_invoked = (Game.LoopList)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.onClick = translator.GetDelegate <System.Action <int> >(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_onClick(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Game.LoopList __cl_gen_to_be_invoked = (Game.LoopList)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.onClick); } 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) { Game.LoopList __cl_gen_ret = new Game.LoopList(); 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 Game.LoopList constructor!")); }
static int _m_SetItem(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Game.LoopList __cl_gen_to_be_invoked = (Game.LoopList)translator.FastGetCSObj(L, 1); { int index = LuaAPI.xlua_tointeger(L, 2); object item = translator.GetObject(L, 3, typeof(object)); __cl_gen_to_be_invoked.SetItem(index, item); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetItem(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Game.LoopList __cl_gen_to_be_invoked = (Game.LoopList)translator.FastGetCSObj(L, 1); { int index = LuaAPI.xlua_tointeger(L, 2); object __cl_gen_ret = __cl_gen_to_be_invoked.GetItem(index); translator.PushAny(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }