Class PlayerSaveResultImpl
java.lang.Object
me.lucko.luckperms.common.storage.misc.PlayerSaveResultImpl
- All Implemented Interfaces:
net.luckperms.api.model.PlayerSaveResult
public final class PlayerSaveResultImpl
extends Object
implements net.luckperms.api.model.PlayerSaveResult
Represents the result to a player history save operation
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.luckperms.api.model.PlayerSaveResult
net.luckperms.api.model.PlayerSaveResult.Outcome -
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerSaveResultImplstatic PlayerSaveResultImpldetermineBaseResult(String username, String oldUsername) booleaninthashCode()static PlayerSaveResultImplnoChange()toString()static PlayerSaveResultImplusernameUpdated(String oldUsername) withOtherUuidsPresent(@NonNull Set<UUID> otherUuids) Returns a newPlayerSaveResultImplwith thePlayerSaveResult.Outcome.OTHER_UNIQUE_IDS_PRESENT_FOR_USERNAMEstatus attached to the state of this result.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.luckperms.api.model.PlayerSaveResult
includes
-
Method Details
-
cleanInsert
-
noChange
-
usernameUpdated
-
determineBaseResult
-
withOtherUuidsPresent
Returns a newPlayerSaveResultImplwith thePlayerSaveResult.Outcome.OTHER_UNIQUE_IDS_PRESENT_FOR_USERNAMEstatus attached to the state of this result.- Parameters:
otherUuids- the other uuids- Returns:
- a new result
-
getOutcomes
- Specified by:
getOutcomesin interfacenet.luckperms.api.model.PlayerSaveResult
-
getPreviousUsername
- Specified by:
getPreviousUsernamein interfacenet.luckperms.api.model.PlayerSaveResult
-
getOtherUniqueIds
- Specified by:
getOtherUniqueIdsin interfacenet.luckperms.api.model.PlayerSaveResult
-
equals
-
hashCode
public int hashCode() -
toString
-