public final class VoidVerificationStorage extends VerificationStorage
Modifier and Type | Field and Description |
---|---|
static VoidVerificationStorage |
INSTANCE |
Constructor and Description |
---|
VoidVerificationStorage() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<Verificator>> |
loadAllVerifications(UUID playerId)
Get all verification made previously
|
CompletableFuture<Void> |
saveVerification(Verificator account)
Save verification
|
getNewFileName, getStorage, getStorageId, init, register, setDefaultStorage, setStorageId
public static final VoidVerificationStorage INSTANCE
public CompletableFuture<List<Verificator>> loadAllVerifications(UUID playerId)
VerificationStorage
loadAllVerifications
in class VerificationStorage
playerId
- the player UUIDpublic CompletableFuture<Void> saveVerification(Verificator account)
VerificationStorage
saveVerification
in class VerificationStorage
account
- the verificator to save