summaryrefslogtreecommitdiff
path: root/EventMsgCenter/BaseSend.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-21 15:53:42 +0800
committerchai <chaifix@163.com>2018-07-21 15:53:42 +0800
commit44aaf888c6c713749a0f534cb25007cf23383b7e (patch)
treeddac4a03b608dea6d6ecf517dc324dec6f114c14 /EventMsgCenter/BaseSend.cs
parent3f8305af8a34bec5f1caa69dad9f537657242737 (diff)
+Massage Center
Diffstat (limited to 'EventMsgCenter/BaseSend.cs')
-rw-r--r--EventMsgCenter/BaseSend.cs39
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)
+ {
+
+ }
+
+ }
+}