static int _m_Remove(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.AService gen_to_be_invoked = (DCET.Model.AService)translator.FastGetCSObj(L, 1); { long _channelId = LuaAPI.lua_toint64(L, 2); gen_to_be_invoked.Remove(_channelId); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }