lilypad.client.connect.api.request.impl
Class GetPlayersRequest
java.lang.Object
lilypad.client.connect.api.request.impl.GetPlayersRequest
- All Implemented Interfaces:
- Request<GetPlayersResult>
public class GetPlayersRequest
- extends java.lang.Object
- implements Request<GetPlayersResult>
Request to get an accurate representation of all players
on the network.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetPlayersRequest
public GetPlayersRequest()
- Shortcut to dictate that we needn't a list of every
player.
GetPlayersRequest
public GetPlayersRequest(boolean asList)
- Parameters:
asList
- if a list of every player is required
getResult
public java.lang.Class<GetPlayersResult> getResult()
- Specified by:
getResult
in interface Request<GetPlayersResult>
- Returns:
- accompanying result of the request
getAsList
public boolean getAsList()
- Returns:
- if a list of every player is required