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

    Constructors
    Constructor
    Description
    FabricProtocolManager(net.fabricmc.api.EnvType environment)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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 interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
      Specified by:
      getPlatformVersion in class io.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
    • sendPacket

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

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

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

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

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

      public void receivePacketSilently(Object channel, Object byteBuf)
      Specified by:
      receivePacketSilently in interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
      Overrides:
      receivePacketSilently in class io.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract