public final class InstanceHolder extends Object
| Constructor and Description |
|---|
InstanceHolder() |
| Modifier and Type | Method and Description |
|---|---|
static FloodgateApi |
getApi() |
static FloodgateEventBus |
getEventBus() |
static HandshakeHandlers |
getHandshakeHandlers()
Deprecated.
Handshake handlers will be removed with the launch of Floodgate 3.0. Please look at
#536 for additional context.
|
static PlatformInjector |
getInjector()
Deprecated.
Injector addons will be removed with the launch of Floodgate 3.0. Please look at
#536 for additional context.
|
static PacketHandlers |
getPacketHandlers()
Deprecated.
Packet handlers will be removed with the launch of Floodgate 3.0. Please look at
#536 for additional context.
|
static PlayerLink |
getPlayerLink() |
static boolean |
set(FloodgateApi floodgateApi,
PlayerLink link,
FloodgateEventBus floodgateEventBus,
PlatformInjector platformInjector,
PacketHandlers packetHandlers,
HandshakeHandlers handshakeHandlers,
UUID key) |
public static boolean set(FloodgateApi floodgateApi, PlayerLink link, FloodgateEventBus floodgateEventBus, PlatformInjector platformInjector, PacketHandlers packetHandlers, HandshakeHandlers handshakeHandlers, UUID key)
@Deprecated public static PlatformInjector getInjector()
@Deprecated public static PacketHandlers getPacketHandlers()
@Deprecated public static HandshakeHandlers getHandshakeHandlers()
public static FloodgateApi getApi()
public static PlayerLink getPlayerLink()
public static FloodgateEventBus getEventBus()