@Deprecated public interface PlatformInjector
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAddon(InjectorAddon addon)
Deprecated.
Adds an addon to the addon list of the Floodgate Injector (the addon is called when Floodgate
injects a channel).
|
default boolean |
canRemoveInjection()
Deprecated.
Some platforms may not be able to remove their injection process.
|
void |
inject()
Deprecated.
Injects the server connection.
|
boolean |
isInjected()
Deprecated.
If the server connection is currently injected.
|
<T extends InjectorAddon> |
removeAddon(Class<T> addon)
Deprecated.
Removes an addon from the addon list of the Floodgate Injector (the addon is called when
Floodgate injects a channel).
|
void |
removeInjection()
Deprecated.
Removes the injection from the server.
|
void inject()
throws Exception
Exception - if the platform couldn't be injecteddefault boolean canRemoveInjection()
inject().void removeInjection()
throws Exception
Exception - if the platform injection could not be removedboolean isInjected()
boolean addAddon(InjectorAddon addon)
InjectorAddon for more info.addon - the addon to add to the addon list<T extends InjectorAddon> T removeAddon(Class<T> addon)
InjectorAddon for more info.T - the addon typeaddon - the class of the addon to remove from the addon list