@ParametersAreNonnullByDefault public class MatchmakerService extends Object
| Constructor and Description |
|---|
MatchmakerService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
acceptInviteForMatchmakingGame(String inviteId)
Deprecated.
|
SearchingForMatchNotification |
attachTeamToQueue(MatchMakerParams params)
Attach a premade team to a queue
|
SearchingForMatchNotification |
attachToQueue(MatchMakerParams params)
Attach the user to a queue
|
boolean |
cancelFromQueueIfPossible(double summonerId)
Attempts to leave a queue
|
List<GameQueueConfig> |
getAvailableQueues()
Retrieve a list of currently enabled queues
|
QueueInfo |
getQueueInfo(double queueId)
Retrieves information for the specified queue
|
boolean |
isMatchmakingEnabled() |
Object |
purgeFromQueues() |
public QueueInfo getQueueInfo(double queueId)
queueId - The id for the queuepublic SearchingForMatchNotification attachTeamToQueue(MatchMakerParams params)
params - The queue parameterspublic Object purgeFromQueues()
public SearchingForMatchNotification attachToQueue(MatchMakerParams params)
params - The queue parameterspublic boolean cancelFromQueueIfPossible(double summonerId)
summonerId - The id of the summonertrue if successfully cancelled, otherwise cancelling isn't possible (i.e. champ select
imminent)public List<GameQueueConfig> getAvailableQueues()
public boolean isMatchmakingEnabled()
@Deprecated public Object acceptInviteForMatchmakingGame(String inviteId)
Copyright © 2014. All rights reserved.