Class PlatformPlayerExecutorAdapter<T>
java.lang.Object
eu.cloudnetservice.modules.bridge.platform.PlatformPlayerExecutorAdapter<T>
- All Implemented Interfaces:
PlayerExecutor
- Direct Known Subclasses:
BukkitDirectPlayerExecutor,BungeeCordDirectPlayerExecutor,FabricDirectPlayerExecutor,LimboLoohpDirectPlayerExecutor,MinestomDirectPlayerExecutor,NukkitDirectPlayerExecutor,SpongeDirectPlayerExecutor,VelocityDirectPlayerExecutor,WaterDogPEDirectPlayerExecutor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Supplier<? extends Collection<? extends T>> protected final UUIDFields inherited from interface eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
GLOBAL_UNIQUE_ID -
Constructor Summary
ConstructorsConstructorDescriptionPlatformPlayerExecutorAdapter(@NonNull UUID uniqueId, @NonNull Supplier<? extends Collection<? extends T>> supplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidvoidSends the given title to the player associated with this player executor.uniqueId()Gets the unique id of this player executor.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.executor.PlayerExecutor
connect, connectSelecting, connectToFallback, connectToGroup, connectToTask, kick, sendChatMessage, sendChatMessage, sendPluginMessage, spoofCommandExecution, spoofCommandExecution
-
Field Details
-
uniqueId
-
playerSupplier
-
-
Constructor Details
-
PlatformPlayerExecutorAdapter
-
-
Method Details
-
uniqueId
Description copied from interface:PlayerExecutorGets the unique id of this player executor. The ID of the player executor equals the unique id of the player this executor is for.A global player executor that performs the action for all players is identified by the
PlayerExecutor.GLOBAL_UNIQUE_ID.- Specified by:
uniqueIdin interfacePlayerExecutor- Returns:
- the unique id of the player executor.
-
sendTitle
Description copied from interface:PlayerExecutorSends the given title to the player associated with this player executor.- Specified by:
sendTitlein interfacePlayerExecutor- Parameters:
title- the title to display to the player.
-
sendTitle
-
forEach
-