Ejemplo n.º 1
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.º 2
0
 public static void InitLadderGameInfo(CUIFormScript gameInfoForm, COMDT_RANKDETAIL rankDetail, List <COMDT_RANK_CURSEASON_FIGHT_RECORD> dataList)
 {
     CLadderView.SetGameInfoRecentPanel(gameInfoForm, rankDetail, dataList);
     CLadderView.SetGameInfoSeasonPanel(gameInfoForm, rankDetail);
     CLadderView.SetGameInfoSeasonTimePanel(gameInfoForm, rankDetail);
 }