public class PlayerListDelta
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PlayerListDelta |
NO_CHANGE |
Constructor and Description |
---|
PlayerListDelta(java.util.List<java.lang.String> playersRemoved,
java.util.List<java.lang.String> playersAdded)
Creates a PlayerListDelta with the specified player change lists.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getPlayersAdded()
Get the list of players that have joined the instance since the last
update.
|
java.util.List<java.lang.String> |
getPlayersRemoved()
Get the list of players that have left the instance since the last
update.
|
public static PlayerListDelta NO_CHANGE
public PlayerListDelta(java.util.List<java.lang.String> playersRemoved, java.util.List<java.lang.String> playersAdded)
playersRemoved
- A list of the player id's of players that have
left the game since the last update.playersAdded
- A list of the player id's of players that have
joined the game since the last update.public java.util.List<java.lang.String> getPlayersAdded()
public java.util.List<java.lang.String> getPlayersRemoved()