summaryrefslogtreecommitdiff
path: root/EventMsgCenter/BaseSend.cs
blob: b240e57f0f89105c3fcc6bacf033199f39c8ae62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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)
        {

        }

    }
}