public class Match extends Dto implements java.io.Serializable
| Constructor and Description |
|---|
Match() |
| Modifier and Type | Method and Description |
|---|---|
long |
getGameCreation() |
long |
getGameDuration() |
long |
getGameId() |
java.lang.String |
getGameMode() |
java.lang.String |
getGameType() |
java.lang.String |
getGameVersion() |
int |
getMapId() |
Participant |
getParticipantByAccountId(long accountId)
Utility method to get the participant by
accountId. |
Participant |
getParticipantByParticipantId(int participantId)
Utility method to get the participant by
participantId. |
Participant |
getParticipantBySummonerId(long summonerId)
Utility method to get the participant by
summonerId. |
Participant |
getParticipantBySummonerName(java.lang.String summonerName)
Utility method to get the participant by
summonerName. |
java.util.List<ParticipantIdentity> |
getParticipantIdentities() |
java.util.List<Participant> |
getParticipants() |
java.lang.String |
getPlatformId() |
int |
getQueueId() |
int |
getSeasonId() |
TeamStats |
getTeamByTeamId(int teamId)
Utility method to get the team by
teamId. |
java.util.List<TeamStats> |
getTeams() |
java.lang.String |
toString() |
toString, toStringVerboselypublic long getGameCreation()
public long getGameDuration()
public long getGameId()
public java.lang.String getGameMode()
public java.lang.String getGameType()
public java.lang.String getGameVersion()
public int getMapId()
public Participant getParticipantByAccountId(long accountId)
accountId.
Note that Match data can be made anonymous by Riot, so in some cases it might be not possible to determine which participant is which summoner.
accountId - Account IDgetParticipants() matching accountId, or null if there is no such participant.public Participant getParticipantByParticipantId(int participantId)
participantId.participantId - Participant IDgetParticipants() matching participantId, or null if there is no such participant.public Participant getParticipantBySummonerId(long summonerId)
summonerId.
Note that Match data can be made anonymous by Riot, so in some cases it might be not possible to determine which participant is which summoner.
summonerId - Summoner IDgetParticipants() matching summonerId, or null if there is no such participant.public Participant getParticipantBySummonerName(java.lang.String summonerName)
summonerName.
Note that Match data can be made anonymous by Riot, so in some cases it might be not possible to determine which participant is which summoner.
summonerName - Summoner namegetParticipants() matching summonerName, or null if there is no such participant.public java.util.List<ParticipantIdentity> getParticipantIdentities()
public java.util.List<Participant> getParticipants()
public java.lang.String getPlatformId()
public int getQueueId()
public int getSeasonId()
public TeamStats getTeamByTeamId(int teamId)
teamId.teamId - Team IDgetTeams() matching teamId, or null if there is no team matching the teamId.public java.util.List<TeamStats> getTeams()
public java.lang.String toString()
toString in class java.lang.Object