Class VelocityPlatformModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public final class VelocityPlatformModule
    extends com.google.inject.AbstractModule
    • Constructor Summary

      Constructors 
      Constructor Description
      VelocityPlatformModule​(com.google.inject.Injector guice)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.incendo.cloud.CommandManager<org.geysermc.floodgate.core.player.UserAudience> commandManager​(org.geysermc.floodgate.core.platform.command.CommandUtil commandUtil)  
      protected void configure()  
      String implementationName()  
      org.geysermc.floodgate.core.platform.listener.ListenerRegistration<Object> listenerRegistration​(com.velocitypowered.api.event.EventManager eventManager, VelocityPlugin plugin)  
      String packetDecoder()  
      String packetEncoder()  
      String packetHandler()  
      org.geysermc.floodgate.core.inject.CommonPlatformInjector platformInjector​(com.velocitypowered.api.proxy.ProxyServer server)  
      org.geysermc.floodgate.core.pluginmessage.PluginMessageRegistration pluginMessageRegistration​(com.velocitypowered.api.proxy.ProxyServer proxy)  
      org.geysermc.floodgate.core.platform.pluginmessage.PluginMessageUtils pluginMessageUtils​(org.geysermc.floodgate.core.pluginmessage.PluginMessageManager pluginMessageManager)  
      • Methods inherited from class com.google.inject.AbstractModule

        addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
    • Constructor Detail

      • VelocityPlatformModule

        public VelocityPlatformModule​(com.google.inject.Injector guice)
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule
      • commandManager

        @Provides
        public org.incendo.cloud.CommandManager<org.geysermc.floodgate.core.player.UserAudience> commandManager​(org.geysermc.floodgate.core.platform.command.CommandUtil commandUtil)
      • listenerRegistration

        @Provides
        public org.geysermc.floodgate.core.platform.listener.ListenerRegistration<Object> listenerRegistration​(com.velocitypowered.api.event.EventManager eventManager,
                                                                                                               VelocityPlugin plugin)
      • pluginMessageUtils

        @Provides
        public org.geysermc.floodgate.core.platform.pluginmessage.PluginMessageUtils pluginMessageUtils​(org.geysermc.floodgate.core.pluginmessage.PluginMessageManager pluginMessageManager)
      • pluginMessageRegistration

        @Provides
        public org.geysermc.floodgate.core.pluginmessage.PluginMessageRegistration pluginMessageRegistration​(com.velocitypowered.api.proxy.ProxyServer proxy)
      • platformInjector

        @Provides
        public org.geysermc.floodgate.core.inject.CommonPlatformInjector platformInjector​(com.velocitypowered.api.proxy.ProxyServer server)
      • packetEncoder

        @Provides
        public String packetEncoder()
      • packetDecoder

        @Provides
        public String packetDecoder()
      • packetHandler

        @Provides
        public String packetHandler()
      • implementationName

        @Provides
        public String implementationName()