static int _m_ResetList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Game.LoopList __cl_gen_to_be_invoked = (Game.LoopList)translator.FastGetCSObj(L, 1); { int dataCount = LuaAPI.xlua_tointeger(L, 2); __cl_gen_to_be_invoked.ResetList(dataCount); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }