Class SpigotChannelInjector

java.lang.Object
io.github.retrooper.packetevents.injector.SpigotChannelInjector
All Implemented Interfaces:
com.github.retrooper.packetevents.injector.ChannelInjector

public class SpigotChannelInjector extends Object implements com.github.retrooper.packetevents.injector.ChannelInjector
  • Field Details

    • injectedConnectionChannels

      public final Set<io.netty.channel.Channel> injectedConnectionChannels
    • networkManagers

      public List<Object> networkManagers
  • Constructor Details

    • SpigotChannelInjector

      public SpigotChannelInjector()
  • Method Details

    • updatePlayer

      public void updatePlayer(com.github.retrooper.packetevents.protocol.player.User user, Object player)
    • isServerBound

      public boolean isServerBound()
      Specified by:
      isServerBound in interface com.github.retrooper.packetevents.injector.ChannelInjector
    • inject

      public void inject()
      Specified by:
      inject in interface com.github.retrooper.packetevents.injector.ChannelInjector
    • uninject

      public void uninject()
      Specified by:
      uninject in interface com.github.retrooper.packetevents.injector.ChannelInjector
    • updateUser

      public void updateUser(Object channel, com.github.retrooper.packetevents.protocol.player.User user)
      Specified by:
      updateUser in interface com.github.retrooper.packetevents.injector.ChannelInjector
    • setPlayer

      public void setPlayer(Object channel, Object player)
      Specified by:
      setPlayer in interface com.github.retrooper.packetevents.injector.ChannelInjector
    • isProxy

      public boolean isProxy()
      Specified by:
      isProxy in interface com.github.retrooper.packetevents.injector.ChannelInjector