Class OfflinePlayerProvider.Dummy
java.lang.Object
com.janboerman.invsee.spigot.api.OfflinePlayerProvider.Dummy
- All Implemented Interfaces:
OfflinePlayerProvider
- Enclosing interface:
OfflinePlayerProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface OfflinePlayerProvider
OfflinePlayerProvider.Dummy -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAll()voidGets all usernames of players that are known to the server.getWithPrefix(String prefix) voidgetWithPrefix(String prefix, Consumer<String> consumer) Gets all usernames that starts with the specified prefix of players that are known to the server.
-
Field Details
-
INSTANCE
-
-
Method Details
-
getAll
Description copied from interface:OfflinePlayerProviderGets all usernames of players that are known to the server. Usernames will be passed to the consumer as they are discovered.- Specified by:
getAllin interfaceOfflinePlayerProvider
-
getWithPrefix
Description copied from interface:OfflinePlayerProviderGets all usernames that starts with the specified prefix of players that are known to the server. Usernames will be passed to the consumer as they are discovered.- Specified by:
getWithPrefixin interfaceOfflinePlayerProvider
-
getAll
- Specified by:
getAllin interfaceOfflinePlayerProvider
-
getWithPrefix
- Specified by:
getWithPrefixin interfaceOfflinePlayerProvider
-