Beispiel #1
0
 public void OnSymbolFormClose()
 {
     if (this.m_curHeroId != 0u)
     {
         CSymbolRecommendController.SendReqSelectHeroLvl(this.m_curHeroId, this.m_symbolRcmdLevel);
     }
 }
Beispiel #2
0
        private void OnHeroListElementClick(CUIEvent uiEvent)
        {
            Singleton <CUIManager> .GetInstance().CloseForm(CSymbolRecommendController.s_ChooseHeroPath);

            CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo();

            if (masterRoleInfo != null)
            {
                masterRoleInfo.m_symbolInfo.m_selSymbolRcmdHeroId = uiEvent.m_eventParams.heroId;
                this.m_curHeroId = masterRoleInfo.m_symbolInfo.m_selSymbolRcmdHeroId;
                this.RefreshSymbolRcmdPanel();
                CSymbolRecommendController.SendReqSelectHeroLvl(this.m_curHeroId, this.m_symbolRcmdLevel);
            }
        }