private void RequestDIDACallBack(bool bAgree, long nLegendCupID, int nRoundID, int nSearchID) { if (!bAgree || nLegendCupID == 0 || nRoundID == 0 || nSearchID == 0) { return; } cmd_legendcup_enter_competition_node nodeData = new cmd_legendcup_enter_competition_node(); nodeData.nLegendCupID = nLegendCupID; nodeData.nRoundID = nRoundID; nodeData.nSearchID = nSearchID; ViewEventHelper.Instance.SendCommand <cmd_legendcup_enter_competition_node>(GameLogicDef.GVIEWCMD_LEGENDCUP_ENTER_COMPETITION_NODE, ref nodeData); }
public void OnClickGotoBtn() { if (m_LegendCupID == 0 || m_RoundID == 0 || m_GotoSearchID == 0) { return; } cmd_legendcup_enter_competition_node nodeData = new cmd_legendcup_enter_competition_node(); nodeData.nLegendCupID = m_LegendCupID; nodeData.nRoundID = m_RoundID; nodeData.nSearchID = m_GotoSearchID; ViewEventHelper.Instance.SendCommand <cmd_legendcup_enter_competition_node>(GameLogicDef.GVIEWCMD_LEGENDCUP_ENTER_COMPETITION_NODE, ref nodeData); // 删除DIDA提醒 LogicDataCenter.legendCupDataManager.SetLegendCupDIDA(false, m_LegendCupID, m_RoundID, m_GotoSearchID); }