Exemplo n.º 1
0
    void fillWithOrderedLeagueInfos(List <TeamLeagueInfo> infos)
    {
        List <TeamLeagueInfo> order = TournamentInfoBuilder.GetLeagueTableData(infos, currentItem.Id);

        for (int i = 0; i < order.Count; i++)
        {
            itemsList.AddChild(order[i]);
        }
    }
Exemplo n.º 2
0
    void prepareMatches()
    {
        Round roundConsidered = OnlineTournamentHandler.Controller.Tournament.SchemeData.Rounds[OnlineTournamentHandler.Controller.CurrentRoundIndex];

        foreach (TournamentItem item in roundConsidered.TournamentItems)
        {
            loadMatchInfos(TournamentInfoBuilder.GetMatchInfos(item));
        }
    }
Exemplo n.º 3
0
    void fillCupItems(List <CupItem> cupItems)
    {
        List <CupItem> filledItems = TournamentInfoBuilder.GetCupResultsData(cupItems, currentItem.Id);

        for (int i = 0; i < filledItems.Count; i++)
        {
            itemsList.AddChild(filledItems[i]);
        }
    }