예제 #1
0
 /// <summary>
 /// 为bus连接队列
 /// </summary>
 /// <param name="queue"></param>
 public static void ConectQueue(EventQueue queue)
 {
     mQueue            = queue;
     mQueue.OnMessage += _onEvent;
 }
예제 #2
0
 internal MessageHandler(EventQueue bus)
 {
     mMessageBus            = bus;
     mMessageBus.OnMessage += onReceiveMessage;
 }