ActorMessageDispatcherComponent.cs 416 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. namespace ET
  4. {
  5. /// <summary>
  6. /// Actor消息分发组件
  7. /// </summary>
  8. public class ActorMessageDispatcherComponent: Entity, IAwake, IDestroy, ILoad
  9. {
  10. public static ActorMessageDispatcherComponent Instance;
  11. public readonly Dictionary<Type, IMActorHandler> ActorMessageHandlers = new Dictionary<Type, IMActorHandler>();
  12. }
  13. }