Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.api.core;
 
 import java.util.List;
 
public abstract class FeaturedGamesAPI {
    

Returns:
the current featured games
    public static List<CurrentGamegetFeaturedGames() {
        final List<CurrentGamegames = new ArrayList<>();
        final FeaturedGames gms = BaseRiotAPI.getFeaturedGames();
        for(final com.robrua.orianna.type.dto.currentgame.CurrentGameInfo game : gms.getGameList()) {
            games.add(new CurrentGame(game));
        }
        if(. == .) {
            RiotAPI.getChampions(new ArrayList<>(gms.getChampionIDs()));
            RiotAPI.getMasteries(new ArrayList<>(gms.getMasteryIDs()));
            RiotAPI.getRunes(new ArrayList<>(gms.getRuneIDs()));
            RiotAPI.getSummonerSpells(new ArrayList<>(gms.getSummonerSpellIDs()));
            RiotAPI.getSummonersByName(new ArrayList<>(gms.getSummonerNames()));
        }
        return Collections.unmodifiableList(games);
    }
New to GrepCode? Check out our FAQ X