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