using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Assets.Scripts.Tools.EventMsgCenter { public enum Events { } class EventMsgCenter : BaseSend { public void RegisterMsg(Events e, BroadcastCallBack callback, bool addfirst) { BaseRegisterMsg(e, callback, addfirst); } public void UnRegisterMsg(Events e, BroadcastCallBack callback) { BaseUnRegisterMsg(e, callback); } public void UnRegisterAllMsg(Events e) { BaseUnRegisterAllMsg(e); } public void unRegisterAllMsg() { BaseUnRegisterAllMsg(); } } }