protected override int onExecute(TBTWorkingData wData) { GuideWorkingData gData = wData as GuideWorkingData; USpeedUI.UGuideMsgRemoveData msg = new USpeedUI.UGuideMsgRemoveData(m_bIsRemoveMessage, m_bIsRemoveModal); USpeedUI.UISystem.Instance.SendWndMessage(USpeedUI.WndMsgID.WND_MSG_GAMEGUIDE_REMOVENODEREWARDMESSAGE, msg); return(base.onExecute(wData)); }
protected override void onExit(TBTWorkingData wData, int runningStatus) { GuideWorkingData gData = wData as GuideWorkingData; if (m_bFinishRemoveUIMessage) { USpeedUI.UGuideMsgRemoveData msg = new USpeedUI.UGuideMsgRemoveData(); USpeedUI.UISystem.Instance.SendWndMessage(USpeedUI.WndMsgID.WND_MSG_GAMEGUIDE_REMOVENODEMESSAGE, msg); } SSchemeGuideNodeData cData = GuideManager.Instance.getNodeConfigData(gData.GuideCurrentNode); cData.bGuideFinished = true; base.onExit(wData, runningStatus); }