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)); } }