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)  
    • 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 cloud.commandframework.CommandManager<org.geysermc.floodgate.player.UserAudience> commandManager​(org.geysermc.floodgate.platform.command.CommandUtil commandUtil)
      • listenerRegistration

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

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

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

        @Provides
        public org.geysermc.floodgate.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()