diff options
Diffstat (limited to 'EventMsgCenter/BaseSend.cs')
-rw-r--r-- | EventMsgCenter/BaseSend.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/EventMsgCenter/BaseSend.cs b/EventMsgCenter/BaseSend.cs new file mode 100644 index 0000000..b240e57 --- /dev/null +++ b/EventMsgCenter/BaseSend.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Assets.Scripts.Tools.EventMsgCenter +{ + class BaseSend <EventType, MsgCenter> + where MsgCenter : class, new() + { + private Dictionary<EventType, LinkedList<BroadcastCallBack>> _broadcastTable = new Dictionary<EventType, LinkedList<BroadcastCallBack>>(); + + public void BaseRegisterMsg(EventType e, BroadcastCallBack callback, bool addfirst = false) + { + + } + + public void BaseUnRegisterMsg(EventType e, BroadcastCallBack callback) + { + + } + + public void BaseUnRegisterAllMsg(EventType e) + { + + } + + public void BaseUnRegisterAllMsg() + { + + } + + public void BaseSendMsg(EventType e, params object[] objs) + { + + } + + } +} |