Class ProtocolManagerAbstract

java.lang.Object
io.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
All Implemented Interfaces:
com.github.retrooper.packetevents.manager.protocol.ProtocolManager

public abstract class ProtocolManagerAbstract extends Object implements com.github.retrooper.packetevents.manager.protocol.ProtocolManager
  • Constructor Details

    • ProtocolManagerAbstract

      public ProtocolManagerAbstract()
  • Method Details

    • getPlatformVersion

      public abstract com.github.retrooper.packetevents.protocol.ProtocolVersion getPlatformVersion()
      Specified by:
      getPlatformVersion in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
    • sendPacket

      public void sendPacket(Object channel, Object byteBuf)
      Specified by:
      sendPacket in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
    • sendPacketSilently

      public void sendPacketSilently(Object channel, Object byteBuf)
      Specified by:
      sendPacketSilently in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
    • writePacket

      public void writePacket(Object channel, Object byteBuf)
      Specified by:
      writePacket in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
    • writePacketSilently

      public void writePacketSilently(Object channel, Object byteBuf)
      Specified by:
      writePacketSilently in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
    • receivePacket

      public void receivePacket(Object channel, Object byteBuf)
      Specified by:
      receivePacket in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
    • receivePacketSilently

      public void receivePacketSilently(Object channel, Object byteBuf)
      Specified by:
      receivePacketSilently in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
    • getClientVersion

      public com.github.retrooper.packetevents.protocol.player.ClientVersion getClientVersion(Object channel)
      Specified by:
      getClientVersion in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager