Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.core.summoner;
  
  import java.util.Date;
  import java.util.List;
  import java.util.Map;
  
 
     private static final long serialVersionUID = 5207241015938391741L;

    

Parameters:
data the underlying dto
 
     public Summoner(final com.robrua.orianna.type.dto.summoner.Summoner data) {
         super(datacom.robrua.orianna.type.dto.summoner.Summoner.class);
     }

    
The summoner's current game

Returns:
the summoner's current game
 
     public CurrentGame getCurrentGame() {
         return RiotAPI.getCurrentGame(getID());
     }

    
Summoner ID

Returns:
summoner ID
 
     public long getID() {
         return super.getLong(.getId());
     }

    
The summoner's league entries

Returns:
the summoner's league entries
 
     public List<LeaguegetLeagueEntries() {
         return RiotAPI.getLeagueEntriesBySummonerID(getID());
     }

    
The summoner's leagues

Returns:
the summoner's leagues
 
     public List<LeaguegetLeagues() {
         return RiotAPI.getLeaguesBySummonerID(getID());
     }

    
Summoner level associated with the summoner

Returns:
summoner level associated with the summoner
 
     public long getLevel() {
         return super.getLong(.getSummonerLevel());
     }

    
Summoner's mastery pages

Returns:
summoner's mastery pages
 
     public List<MasteryPagegetMasteryPages() {
         return RiotAPI.getMasteryPagesByID(getID());
     }

    
Gets the summoner's 15 most recent matches

Returns:
the summoner's 15 most recent matches
 
     public List<MatchSummarygetMatchHistory() {
         return RiotAPI.getMatchHistory(getID());
     }

    
Gets the summoner's 15 most recent matches after beginIndex

Parameters:
beginIndex the game index to start from
Returns:
the summoner's 15 most recent matches after beginIndex
    public List<MatchSummarygetMatchHistory(final int beginIndex) {
        return RiotAPI.getMatchHistory(thisbeginIndex);
    }

    
Gets the summoner's 15 most recent matches after beginIndex

Parameters:
beginIndex the game index to start from
champions the champions to limit games to
Returns:
the summoner's 15 most recent matches after beginIndex
    public List<MatchSummarygetMatchHistory(final int beginIndexfinal List<Championchampions) {
        return RiotAPI.getMatchHistory(thisbeginIndexchampions);
    }

    
Gets the summoner's 15 most recent matches after beginIndex

Parameters:
beginIndex the game index to start from
queueType the queue type to limit games to (only ranked queues)
Returns:
the summoner's 15 most recent matches after beginIndex
    public List<MatchSummarygetMatchHistory(final int beginIndexfinal QueueType queueType) {
        return RiotAPI.getMatchHistory(thisbeginIndexqueueType);
    }

    
Gets the summoner's 15 most recent matches after beginIndex

Parameters:
beginIndex the game index to start from
queueType the queue type to limit games to (only ranked queues)
champions the champions to limit games to
Returns:
the summoner's 15 most recent matches after beginIndex
    public List<MatchSummarygetMatchHistory(final int beginIndexfinal QueueType queueTypefinal List<Championchampions) {
        return RiotAPI.getMatchHistory(thisbeginIndexqueueTypechampions);
    }

    
Gets the summoner's 15 most recent matches

Parameters:
champions the champions to limit games to
Returns:
the summoner's 15 most recent matches
    public List<MatchSummarygetMatchHistory(final List<Championchampions) {
        return RiotAPI.getMatchHistory(thischampions);
    }

    
Gets the summoner's 15 most recent matches

Parameters:
queueType the queue type to limit games to (only ranked queues)
Returns:
the summoner's 15 most recent matches
    public List<MatchSummarygetMatchHistory(final QueueType queueType) {
        return RiotAPI.getMatchHistory(thisqueueType);
    }

    
Gets the summoner's 15 most recent matches

Parameters:
queueType the queue type to limit games to (only ranked queues)
champions the champions to limit games to
Returns:
the summoner's 15 most recent matches
    public List<MatchSummarygetMatchHistory(final QueueType queueTypefinal List<Championchampions) {
        return RiotAPI.getMatchHistory(thisqueueTypechampions);
    }

    
Summoner name

Returns:
summoner name
    public String getName() {
        return super.getString(.getName());
    }

    
ID of the summoner icon associated with the summoner

Returns:
ID of the summoner icon associated with the summoner
    public int getProfileIconID() {
        return super.getInteger(.getProfileIconId());
    }

    

Returns:
the ranked stats for this summoner by champion (null entry contains totals over all champions)
    public Map<ChampionChampionStatsgetRankedStats() {
        return RiotAPI.getRankedStats(getID());
    }

    

Parameters:
season the season to get ranked stats for
Returns:
the ranked stats for this summoner by champion (null entry contains totals over all champions)
    public Map<ChampionChampionStatsgetRankedStats(final Season season) {
        return RiotAPI.getRankedStats(getID(), season);
    }

    
Date summoner was last modified. The following events will update this timestamp: profile icon change, playing the tutorial or advanced tutorial, finishing a game, summoner name change

Returns:
date summoner was last modified. The following events will update this timestamp: profile icon change, playing the tutorial or advanced tutorial, finishing a game, summoner name change
    public Date getRevisionDate() {
        return super.getDate(.getRevisionDate());
    }

    
Summoner's rune pages

Returns:
summoner's rune pages
    public List<RunePagegetRunePages() {
        return RiotAPI.getRunePagesByID(getID());
    }

    

Returns:
the stats for this summoner by queue type
        return RiotAPI.getStats(getID());
    }

    

Parameters:
season the season to get stats for
Returns:
the stats for this summoner by queue type
    public Map<PlayerStatsSummaryTypePlayerStatsSummarygetStats(final Season season) {
        return RiotAPI.getStats(getID(), season);
    }

    
The summoner's teams

Returns:
the summoner's teams
    public List<TeamgetTeams() {
        return RiotAPI.getTeamsBySummonerID(getID());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return getName();
    }
New to GrepCode? Check out our FAQ X