public class CurrentGameInfo extends Dto implements java.io.Serializable
Constructor and Description |
---|
CurrentGameInfo() |
Modifier and Type | Method and Description |
---|---|
java.util.List<BannedChampion> |
getBannedChampions() |
long |
getGameId() |
long |
getGameLength() |
java.lang.String |
getGameMode() |
int |
getGameQueueConfigId() |
long |
getGameStartTime() |
java.lang.String |
getGameType() |
int |
getMapId() |
Observer |
getObservers() |
CurrentGameParticipant |
getParticipantByParticipantId(long summonerId)
Utility method to get the participant by
summonerId . |
CurrentGameParticipant |
getParticipantByParticipantName(java.lang.String summonerName)
Utility method to get the participant by
summonerName . |
java.util.List<CurrentGameParticipant> |
getParticipants() |
java.lang.String |
getPlatformId() |
toString, toStringVerbosely
public java.util.List<BannedChampion> getBannedChampions()
public long getGameId()
public long getGameLength()
public java.lang.String getGameMode()
public int getGameQueueConfigId()
public long getGameStartTime()
public java.lang.String getGameType()
public int getMapId()
public Observer getObservers()
public CurrentGameParticipant getParticipantByParticipantId(long summonerId)
summonerId
.summonerId
- Summoner IDgetParticipants()
matching summonerId
, or null
if there is no such participant.public CurrentGameParticipant getParticipantByParticipantName(java.lang.String summonerName)
summonerName
.summonerName
- Summoner namegetParticipants()
matching summonerName
, or null
if there is no such participant.public java.util.List<CurrentGameParticipant> getParticipants()
public java.lang.String getPlatformId()