void OnUpdateRaidRanking(EventData eventData) { var data = BinSerializer.ConvertData <ProtoData.RaidRankingData> (eventData.Parameters); TransitionManager.Instance.OnWaitSigh(false); MainLobbyGameMode gameMode = GameManager.Instance.GameMode as MainLobbyGameMode; if (gameMode == null) { return; } MainLobbyPage page = gameMode.CurrentPage as MainLobbyPage; if (page == null) { return; } RankingPopup popup = page.rankingPopup; popup.SetRemainTime(data.tick); popup.SetInfoForMyRanking(data.myRankingData); popup.SetInfoForLastHitRnaking(data.lastHitRankingData); popup.SetInfo(data.rankingDataList); page.OnUpdate( ); }
protected override void OnComplete( ) { SoundManager.Instance.play(LoadManager.Instance.GetSFXData(SFXType.Tabsound).clip, AudioSettings.dspTime + Time.deltaTime, 0F, 1F); MainLobbyPage page = GameManager.Instance.GameMode.CurrentPage as MainLobbyPage; if (page == null) { return; } page.OnBarrackInfo(info); page.OnUpdate( ); }