namespace XGame.Framework { /// /// 事件派发器 /// public interface IEventDispatcher { /// /// 派发事件(无上下文) /// /// 事件ID void Notify(int eventId); /// /// 派发事件 /// /// 事件ID /// 上下文 void Notify(int eventId, object args); } }