public abstract class QueueConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
force |
| Modifier | Constructor and Description |
|---|---|
protected |
QueueConfiguration(boolean force) |
| Modifier and Type | Method and Description |
|---|---|
static QueueConfiguration |
customGame(boolean force,
String gameId)
Joins custom game.
|
static QueueConfiguration |
customGame(boolean force,
String gameId,
int team)
Joins custom game.
|
static QueueConfiguration |
freeForAll(boolean force)
Joins Free For All game queue.
|
abstract void |
joinQueue(GeneralsApi api,
String botUserId) |
static QueueConfiguration |
oneVsOne() |
static QueueConfiguration |
twoVsTwo(String teamId,
boolean force)
Joins 2vs2 game queue.
|
public abstract void joinQueue(GeneralsApi api, String botUserId)
public static QueueConfiguration oneVsOne()
public static QueueConfiguration freeForAll(boolean force)
force - indicates if player should vote for "force start"public static QueueConfiguration twoVsTwo(String teamId, boolean force)
force - indicates if player should vote for "force start"teamId - identifier of the team to join (displayed in browser URL when starting 2v2)public static QueueConfiguration customGame(boolean force, String gameId)
force - indicates if player should vote for "force start"gameId - identifier of the game to join (displayed in browser URL when starting custom game)public static QueueConfiguration customGame(boolean force, String gameId, int team)
force - indicates if player should vote for "force start"gameId - identifier of the game to join (displayed in browser URL when starting custom game)team - number of team that bot will join in the custom gameCopyright © 2017. All rights reserved.