Class NodePlayerProvider
java.lang.Object
eu.cloudnetservice.modules.bridge.node.player.NodePlayerProvider
- All Implemented Interfaces:
PlayerProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcount()Gets the count of supplied players by this player provider.names()Gets all player names for all players supplied by this player provider.players()Gets all players supplied by this player provider as cloud players.Gets all unique ids of the players supplied by this player provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.cloudnetservice.modules.bridge.player.PlayerProvider
countAsync, namesAsync, playersAsync, uniqueIdsAsync
-
Field Details
-
playerSupplier
-
-
Constructor Details
-
NodePlayerProvider
-
-
Method Details
-
players
Description copied from interface:PlayerProviderGets all players supplied by this player provider as cloud players.- Specified by:
playersin interfacePlayerProvider- Returns:
- all supplied cloud players.
-
uniqueIds
Description copied from interface:PlayerProviderGets all unique ids of the players supplied by this player provider.- Specified by:
uniqueIdsin interfacePlayerProvider- Returns:
- all supplied unique ids.
-
names
Description copied from interface:PlayerProviderGets all player names for all players supplied by this player provider.- Specified by:
namesin interfacePlayerProvider- Returns:
- all supplied player names.
-
count
public int count()Description copied from interface:PlayerProviderGets the count of supplied players by this player provider.- Specified by:
countin interfacePlayerProvider- Returns:
- the amount of supplied players.
-