|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lilypad.client.connect.api.result.Result lilypad.client.connect.api.result.impl.GetPlayersResult
public class GetPlayersResult
Constructor Summary | |
---|---|
GetPlayersResult(int currentPlayers,
int maximumPlayers,
java.util.Set<java.lang.String> players)
Showing the result was successful, passing the data to accompany the result. |
|
GetPlayersResult(StatusCode statusCode)
Called only when the result is unsuccessful. |
Method Summary | |
---|---|
int |
getCurrentPlayers()
An accurate representation of the current player count as reported by the network |
int |
getMaximumPlayers()
The maximum players allowed on the network. |
java.util.Set<java.lang.String> |
getPlayers()
If the original request asked for the list of players, an accurate representation of all players on the network will be returned. |
Methods inherited from class lilypad.client.connect.api.result.Result |
---|
getStatusCode |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetPlayersResult(StatusCode statusCode)
statusCode
- of the resultpublic GetPlayersResult(int currentPlayers, int maximumPlayers, java.util.Set<java.lang.String> players)
currentPlayers
- maximumPlayers
- players
- Method Detail |
---|
public int getCurrentPlayers()
public int getMaximumPlayers()
public java.util.Set<java.lang.String> getPlayers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |