Interface IPlayerStorage
- All Known Implementing Classes:
PlayerCache
,PlayersDB
public interface IPlayerStorage
-
Method Summary
Modifier and TypeMethodDescriptionadd
(PlayerEntry player) exists
(UserIdentity identity) get
(UserIdentity identity) getAltsForGuildMemberId
(String guildMemberId) getAltsForHostAddress
(String hostAddress) getOrCreate
(UserIdentity identity) getUUIDForPlayerName
(String playerName) void
shutdown()
update
(PlayerEntry player) update
(PlayerEntry player, @NonNull String oldGuildMemberId)
-
Method Details
-
add
-
update
-
update
-
getAltsForGuildMemberId
-
getAltsForHostAddress
-
getAllPlayerNames
CompletableFuture<Set<String>> getAllPlayerNames() -
getUUIDForPlayerName
-
shutdown
void shutdown()
-