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

18 lines
409 B
C#

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>>();
}
}