public interface PlayerSaveResult
The corresponding method can be found at
UserManager.savePlayerData(UUID, String).
| Modifier and Type | Interface and Description |
|---|---|
static class |
PlayerSaveResult.Status
The various states the result can take
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getOldUsername()
Gets the old username involved in the result
|
@Nullable Set<UUID> |
getOtherUuids()
Gets the other uuids involved in the result
|
@NonNull Set<PlayerSaveResult.Status> |
getStatus()
Gets the status returned by the operation
|
boolean |
includes(@NonNull 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_USERNAME