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]); } }
void prepareMatches() { Round roundConsidered = OnlineTournamentHandler.Controller.Tournament.SchemeData.Rounds[OnlineTournamentHandler.Controller.CurrentRoundIndex]; foreach (TournamentItem item in roundConsidered.TournamentItems) { loadMatchInfos(TournamentInfoBuilder.GetMatchInfos(item)); } }
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]); } }