Package org.geysermc.floodgate.module
Class VelocityPlatformModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.geysermc.floodgate.module.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.player.UserAudience>commandManager(org.geysermc.floodgate.platform.command.CommandUtil commandUtil)protected voidconfigure()StringimplementationName()org.geysermc.floodgate.platform.listener.ListenerRegistration<Object>listenerRegistration(com.velocitypowered.api.event.EventManager eventManager, VelocityPlugin plugin)StringpacketDecoder()StringpacketEncoder()StringpacketHandler()org.geysermc.floodgate.inject.CommonPlatformInjectorplatformInjector(com.velocitypowered.api.proxy.ProxyServer server)org.geysermc.floodgate.pluginmessage.PluginMessageRegistrationpluginMessageRegistration(com.velocitypowered.api.proxy.ProxyServer proxy)org.geysermc.floodgate.platform.pluginmessage.PluginMessageUtilspluginMessageUtils(org.geysermc.floodgate.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
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configurein classcom.google.inject.AbstractModule
-
commandManager
@Provides public org.incendo.cloud.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()
-
-