public interface PlayerSaveResult
| Modifier and Type | Interface and Description |
|---|---|
static class |
PlayerSaveResult.Status
The various states the result can take
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOldUsername()
Gets the old username involved in the result
|
Set<UUID> |
getOtherUuids()
Gets the other uuids involved in the result
|
Set<PlayerSaveResult.Status> |
getStatus()
Gets the status returned by the operation
|
boolean |
includes(PlayerSaveResult.Status status)
Gets if the result includes a certain status code.
|
@Nonnull Set<PlayerSaveResult.Status> getStatus()
boolean includes(@Nonnull PlayerSaveResult.Status status)
status - the status to check for@Nullable String getOldUsername()
PlayerSaveResult.Status.USERNAME_UPDATED@Nullable Set<UUID> getOtherUuids()
PlayerSaveResult.Status.OTHER_UUIDS_PRESENT_FOR_USERNAMECopyright © 2018. All rights reserved.