Ejemplo n.º 1
0
        private void OnLadder_ShowRecent(CUIEvent uiEvent)
        {
            CUIFormScript cUIFormScript = Singleton <CUIManager> .GetInstance().OpenForm(CLadderSystem.FORM_LADDER_RECENT, false, true);

            if (cUIFormScript)
            {
                CLadderView.InitLadderRecent(cUIFormScript, this.currentSeasonGames);
            }
        }
Ejemplo n.º 2
0
        private void OnLadder_ShowRecent(CUIEvent uiEvent)
        {
            CUIFormScript form = Singleton <CUIManager> .GetInstance().OpenForm(FORM_LADDER_RECENT, false, true);

            if (form != null)
            {
                CLadderView.InitLadderRecent(form, this.currentSeasonGames);
            }
        }
Ejemplo n.º 3
0
        private void AddRecentGameData(COMDT_RANK_CURSEASON_FIGHT_RECORD gameData)
        {
            if (this.currentSeasonGames == null)
            {
                this.currentSeasonGames = new List <COMDT_RANK_CURSEASON_FIGHT_RECORD>();
            }
            this.currentSeasonGames.Add(gameData);
            this.currentSeasonGames.Sort(new Comparison <COMDT_RANK_CURSEASON_FIGHT_RECORD>(CLadderSystem.ComparisonGameData));
            CUIFormScript form = Singleton <CUIManager> .GetInstance().GetForm(CLadderSystem.FORM_LADDER_GAMEINFO);

            if (form)
            {
                CLadderView.SetGameInfoRecentPanel(form, this.currentRankDetail, this.currentSeasonGames);
            }
            CUIFormScript form2 = Singleton <CUIManager> .GetInstance().GetForm(CLadderSystem.FORM_LADDER_RECENT);

            if (form2)
            {
                CLadderView.InitLadderRecent(form2, this.currentSeasonGames);
            }
        }
Ejemplo n.º 4
0
        private void AddRecentGameData(COMDT_RANK_CURSEASON_FIGHT_RECORD gameData)
        {
            if (this.currentSeasonGames == null)
            {
                this.currentSeasonGames = new List <COMDT_RANK_CURSEASON_FIGHT_RECORD>();
            }
            this.currentSeasonGames.Add(gameData);
            this.currentSeasonGames.Sort(new Comparison <COMDT_RANK_CURSEASON_FIGHT_RECORD>(CLadderSystem.ComparisonGameData));
            CUIFormScript form = Singleton <CUIManager> .GetInstance().GetForm(FORM_LADDER_ENTRY);

            if (form != null)
            {
                CLadderView.SetMostRecentGameData(form, ref this.currentRankDetail, this.currentSeasonGames);
            }
            CUIFormScript script2 = Singleton <CUIManager> .GetInstance().GetForm(FORM_LADDER_RECENT);

            if (script2 != null)
            {
                CLadderView.InitLadderRecent(script2, this.currentSeasonGames);
            }
        }