/// <summary> /// 转发消息 /// </summary> private void ForwardMsg(QMsg msg) { QMgrID tmpId = msg.GetMgrID(); switch (tmpId) { case QMgrID.AB: break; case QMgrID.Sound: QSoundMgr.Instance.SendMsg(msg); break; case QMgrID.CharactorManager: break; case QMgrID.Game: break; case QMgrID.NetManager: break; case QMgrID.NPCManager: break; case QMgrID.UI: break; default: break; } }
/// <summary> /// 转发消息 /// </summary> private void ForwardMsg(QMsg tempMsg) { QMgrID tmpId = tempMsg.GetMgrID(); switch (tmpId) { case QMgrID.AB: break; case QMgrID.Sound: break; case QMgrID.CharactorManager: break; case QMgrID.Game: break; case QMgrID.NetManager: break; case QMgrID.NPCManager: break; case QMgrID.UI: break; default: break; } }