public class BukkitViaInjector extends Object implements ViaInjector
| Constructor and Description | 
|---|
BukkitViaInjector()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDecoderName()
Get the name of the decoder for then netty pipeline for this platform. 
 | 
com.google.gson.JsonObject | 
getDump()
Get any relevant data for debugging injection issues. 
 | 
String | 
getEncoderName()
Get the name of the encoder for then netty pipeline for this platform. 
 | 
static Object | 
getServerConnection()  | 
int | 
getServerProtocolVersion()
Get the server protocol version 
 | 
void | 
inject()
Inject into the current Platform 
 | 
static boolean | 
isBinded()  | 
static void | 
patchLists()  | 
void | 
setProtocolLib(boolean protocolLib)  | 
void | 
uninject()
Uninject into the current Platform 
 | 
public void inject()
            throws Exception
ViaInjectorinject in interface ViaInjectorException - If there is an error with injectingpublic void uninject()
ViaInjectoruninject in interface ViaInjectorpublic int getServerProtocolVersion()
                             throws Exception
ViaInjectorgetServerProtocolVersion in interface ViaInjectorException - If there is an error with getting this info, eg. not binded.public String getEncoderName()
ViaInjectorgetEncoderName in interface ViaInjectorpublic String getDecoderName()
ViaInjectorgetDecoderName in interface ViaInjectorpublic static boolean isBinded()
public com.google.gson.JsonObject getDump()
ViaInjectorgetDump in interface ViaInjectorpublic void setProtocolLib(boolean protocolLib)
Copyright © 2016–2021. All rights reserved.