Class PlayerChannelRegisterEventImpl
- java.lang.Object
-
- com.velocitypowered.api.event.player.PlayerChannelRegisterEventImpl
-
- All Implemented Interfaces:
Event,PlayerChannelRegisterEvent
public final class PlayerChannelRegisterEventImpl extends Object implements PlayerChannelRegisterEvent
This event is fired when a client (Player) sends a plugin message through the register channel.
-
-
Constructor Summary
Constructors Constructor Description PlayerChannelRegisterEventImpl(Player player, List<PluginChannelId> channels)
-
-
-
Constructor Detail
-
PlayerChannelRegisterEventImpl
public PlayerChannelRegisterEventImpl(Player player, List<PluginChannelId> channels)
-
-
Method Detail
-
player
public Player player()
- Specified by:
playerin interfacePlayerChannelRegisterEvent
-
channels
public List<PluginChannelId> channels()
- Specified by:
channelsin interfacePlayerChannelRegisterEvent
-
-