Class SpigotDataAddon

java.lang.Object
org.geysermc.floodgate.spigot.addon.data.SpigotDataAddon
All Implemented Interfaces:
org.geysermc.floodgate.core.api.inject.InjectorAddon<io.netty.channel.Channel>

@Singleton public final class SpigotDataAddon extends Object implements org.geysermc.floodgate.core.api.inject.InjectorAddon<io.netty.channel.Channel>
  • Constructor Details

    • SpigotDataAddon

      public SpigotDataAddon()
  • Method Details

    • onInject

      public void onInject(io.netty.channel.Channel channel, boolean toServer)
      Specified by:
      onInject in interface org.geysermc.floodgate.core.api.inject.InjectorAddon<io.netty.channel.Channel>
    • onRemoveInject

      public void onRemoveInject(io.netty.channel.Channel channel)
      Specified by:
      onRemoveInject in interface org.geysermc.floodgate.core.api.inject.InjectorAddon<io.netty.channel.Channel>
    • shouldInject

      public boolean shouldInject()
      Specified by:
      shouldInject in interface org.geysermc.floodgate.core.api.inject.InjectorAddon<io.netty.channel.Channel>