Class PlayersDB
java.lang.Object
com.gamersafer.minecraft.auth.common.db.repo.PlayersDB
- All Implemented Interfaces:
IPlayerStorage
-
Constructor Summary
Constructors -
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) voidshutdown()update(PlayerEntry player) update(PlayerEntry player, @NonNull String oldGuildMemberId)
-
Constructor Details
-
PlayersDB
-
-
Method Details
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceIPlayerStorage
-
add
- Specified by:
addin interfaceIPlayerStorage
-
update
- Specified by:
updatein interfaceIPlayerStorage
-
update
- Specified by:
updatein interfaceIPlayerStorage
-
getAltsForGuildMemberId
- Specified by:
getAltsForGuildMemberIdin interfaceIPlayerStorage
-
getAltsForHostAddress
- Specified by:
getAltsForHostAddressin interfaceIPlayerStorage
-
getAllPlayerNames
- Specified by:
getAllPlayerNamesin interfaceIPlayerStorage
-
getUUIDForPlayerName
- Specified by:
getUUIDForPlayerNamein interfaceIPlayerStorage
-