Class FabricProtocolManager
java.lang.Object
io.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
io.github.retrooper.packetevents.factory.fabric.FabricProtocolManager
- All Implemented Interfaces:
com.github.retrooper.packetevents.manager.protocol.ProtocolManager
public class FabricProtocolManager
extends io.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-
Field Summary
Fields inherited from interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
CHANNELS, USERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.retrooper.packetevents.protocol.ProtocolVersion
void
receivePacket
(Object channel, Object byteBuf) void
receivePacketSilently
(Object channel, Object byteBuf) void
sendPacket
(Object channel, Object byteBuf) void
sendPacketSilently
(Object channel, Object byteBuf) void
writePacket
(Object channel, Object byteBuf) void
writePacketSilently
(Object channel, Object byteBuf) Methods inherited from class io.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
getClientVersion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
getChannel, getChannels, getUser, getUsers, receivePacket, receivePackets, receivePacketSilently, receivePacketsSilently, removeUser, sendPacket, sendPackets, sendPacketSilently, sendPacketsSilently, setClientVersion, setUser, transformWrappers, writePacket, writePackets, writePacketSilently, writePacketsSilently
-
Constructor Details
-
FabricProtocolManager
public FabricProtocolManager(net.fabricmc.api.EnvType environment)
-
-
Method Details
-
getPlatformVersion
public com.github.retrooper.packetevents.protocol.ProtocolVersion getPlatformVersion()- Specified by:
getPlatformVersion
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
- Specified by:
getPlatformVersion
in classio.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-
sendPacket
- Specified by:
sendPacket
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
- Overrides:
sendPacket
in classio.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-
sendPacketSilently
- Specified by:
sendPacketSilently
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
- Overrides:
sendPacketSilently
in classio.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-
writePacket
- Specified by:
writePacket
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
- Overrides:
writePacket
in classio.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-
writePacketSilently
- Specified by:
writePacketSilently
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
- Overrides:
writePacketSilently
in classio.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-
receivePacket
- Specified by:
receivePacket
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
- Overrides:
receivePacket
in classio.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-
receivePacketSilently
- Specified by:
receivePacketSilently
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
- Overrides:
receivePacketSilently
in classio.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
-