Class ProtocolManagerImpl

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

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

    • ProtocolManagerImpl

      public ProtocolManagerImpl()
  • Method Details

    • getPlatformVersion

      public 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