zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/Model/Module/Message/MessageDispatcherComponent.cs

18 lines
409 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using System.Collections.Generic;
namespace ET
{
/// <summary>
/// 消息分发组件
/// </summary>
public class MessageDispatcherComponent: Entity
{
public static MessageDispatcherComponent Instance
{
get;
set;
}
public readonly Dictionary<ushort, List<IMHandler>> Handlers = new Dictionary<ushort, List<IMHandler>>();
}
}