Class PacketChannel
java.lang.Object
org.geysermc.floodgate.core.pluginmessage.channel.PacketChannel
- All Implemented Interfaces:
PluginMessageChannel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.geysermc.floodgate.core.pluginmessage.PluginMessageChannel
PluginMessageChannel.Identity, PluginMessageChannel.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleProxyCall(byte[] data, UUID sourceUuid, String sourceUsername, PluginMessageChannel.Identity sourceIdentity) handleServerCall(byte[] data, UUID playerUuid, String playerUsername) booleansendPacket(UUID player, byte[] packet, UnsafeFloodgateApi api)
-
Constructor Details
-
PacketChannel
public PacketChannel()
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfacePluginMessageChannel
-
handleProxyCall
public PluginMessageChannel.Result handleProxyCall(byte[] data, UUID sourceUuid, String sourceUsername, PluginMessageChannel.Identity sourceIdentity) - Specified by:
handleProxyCallin interfacePluginMessageChannel
-
handleServerCall
public PluginMessageChannel.Result handleServerCall(byte[] data, UUID playerUuid, String playerUsername) - Specified by:
handleServerCallin interfacePluginMessageChannel
-
sendPacket
-