public class MatchEntity extends Entity
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MatchEntity.ParticipantEntity
A entity representation of a participantInfo in a single match. 
 | 
class  | 
MatchEntity.TeamEntity
An entity representation of a team in a single match. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)
Returns true if this MatchEntity has the same match ID and is from the same region as OTHER. 
 | 
String | 
getForAccountIdEnc()
Returns the account ID supplied at construction, used for non-public (unranked) match participant
 identification. 
 | 
Match | 
getInfo()  | 
CompletableFuture<Match> | 
getInfoAsync()  | 
long | 
getMatchId()
Returns the unique match encId. 
 | 
MatchEntity.ParticipantEntity | 
getParticipant(SummonerEntity summonerEntity)
Gets the Participant corresponding to the given SummonerEntity. 
 | 
CompletableFuture<MatchEntity.ParticipantEntity> | 
getParticipantAsync(SummonerEntity summonerEntity)
Gets a CompletableFuture of the Participant corresponding to the given SummonerEntity. 
 | 
List<MatchEntity.ParticipantEntity> | 
getParticipants()  | 
CompletableFuture<List<MatchEntity.ParticipantEntity>> | 
getParticipantsAsync()  | 
List<MatchEntity.TeamEntity> | 
getTeams()  | 
CompletableFuture<List<MatchEntity.TeamEntity>> | 
getTeamsAsync()  | 
MatchTimeline | 
getTimeline()  | 
CompletableFuture<MatchTimeline> | 
getTimelineAsync()  | 
int | 
hashCode()  | 
public long getMatchId()
public String getForAccountIdEnc()
public CompletableFuture<Match> getInfoAsync()
public Match getInfo()
public CompletableFuture<MatchTimeline> getTimelineAsync()
public MatchTimeline getTimeline()
public CompletableFuture<List<MatchEntity.ParticipantEntity>> getParticipantsAsync()
public List<MatchEntity.ParticipantEntity> getParticipants()
public CompletableFuture<MatchEntity.ParticipantEntity> getParticipantAsync(SummonerEntity summonerEntity)
null
 if the summoner was not found. This may occur in unranked games where identity information is not available.summonerEntity - Summoner to find.null if not found.public MatchEntity.ParticipantEntity getParticipant(SummonerEntity summonerEntity)
null if the summoner was
 not found. This usually occurs in unranked games where identity information is not available and forAccountIdEnc
 was not provided..summonerEntity - Summoner to find.null if not found.public CompletableFuture<List<MatchEntity.TeamEntity>> getTeamsAsync()
public List<MatchEntity.TeamEntity> getTeams()
public boolean equals(Object other)
Copyright © 2019. All rights reserved.