Class PlayerChannelRegistry
java.lang.Object
fr.ghostrider584.axiom.network.channel.PlayerChannelRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChannels(@NotNull net.minestom.server.entity.Player player) booleanregisterChannels(@NotNull net.minestom.server.entity.Player player, @NotNull Collection<String> channels) removePlayer(@NotNull net.minestom.server.entity.Player player) booleanbooleanunregisterChannels(@NotNull net.minestom.server.entity.Player player, @NotNull Collection<String> channels)
-
Constructor Details
-
PlayerChannelRegistry
public PlayerChannelRegistry()
-
-
Method Details
-
registerChannels
public boolean registerChannels(@NotNull @NotNull net.minestom.server.entity.Player player, @NotNull @NotNull Collection<String> channels) -
unregisterChannels
public boolean unregisterChannels(@NotNull @NotNull net.minestom.server.entity.Player player, @NotNull @NotNull Collection<String> channels) -
supports
public boolean supports(@NotNull @NotNull net.minestom.server.entity.Player player, @NotNull @NotNull String channel) -
getChannels
-
removePlayer
-