diff options
author | chai <chaifix@163.com> | 2018-07-21 15:53:42 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-21 15:53:42 +0800 |
commit | 44aaf888c6c713749a0f534cb25007cf23383b7e (patch) | |
tree | ddac4a03b608dea6d6ecf517dc324dec6f114c14 /EventMsgCenter/BaseSend.cs | |
parent | 3f8305af8a34bec5f1caa69dad9f537657242737 (diff) |
+Massage Center
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) + { + + } + + } +} |