public final class GameStartApiResponse extends Object
| Constructor and Description |
|---|
GameStartApiResponse(int playerIndex,
String replayId,
String chatRoom,
String teamChatRoom,
String[] usernames,
Integer[] teams) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getChatRoom()
Identifier of the main chat room, useful when sending a chat message (
GeneralsApi.sendChatMessage(String, String)). |
int |
getPlayerIndex()
Index of bot's player.
|
String |
getReplayId()
Replay identifier.
|
String |
getTeamChatRoom()
Identifier of the team chat room, useful when sending a chat message (
GeneralsApi.sendChatMessage(String, String)). |
Integer[] |
getTeams()
Array if team identifiers of each player, indexed by player index.
|
String[] |
getUsernames()
Array of player names, indexed by player index.
|
int |
hashCode() |
String |
toString() |
public int getPlayerIndex()
public String getReplayId()
public String getChatRoom()
GeneralsApi.sendChatMessage(String, String)).public String getTeamChatRoom()
GeneralsApi.sendChatMessage(String, String)).
Can be null if there are no teams in the game.public String[] getUsernames()
public Integer[] getTeams()
Copyright © 2017. All rights reserved.