using System; using System.Collections.Generic; namespace ETModel { /// /// Actor消息分发组件 /// public class ActorMessageDispatcherComponent : Component { public readonly Dictionary ActorMessageHandlers = new Dictionary(); public override void Dispose() { if (this.IsDisposed) { return; } base.Dispose(); this.ActorMessageHandlers.Clear(); } } }