public class Sponge_UnknowVersion extends SpongeVersionAdapter
negativityToPlatform, packetsHandshake, packetsPlayIn, packetsPlayOut, packetsStatus, unknownPacket, version
Constructor and Description |
---|
Sponge_UnknowVersion() |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
get(Class<?> clazz,
Object obj,
String name) |
protected <T> T |
get(Object obj,
Class<?> clazz,
String name) |
protected <T> T |
get(Object obj,
String name) |
protected <T> T |
getFromMethod(Class<?> clazz,
Object obj,
String methodName) |
protected <T> T |
getFromMethod(Object obj,
String methodName) |
protected Object |
getSafe(Object obj,
String name) |
protected String |
getStr(Object obj,
String name) |
void |
queuePacket(org.spongepowered.api.entity.living.player.server.ServerPlayer p,
Object basicPacket) |
void |
sendPacket(org.spongepowered.api.entity.living.player.server.ServerPlayer p,
Object basicPacket) |
getNameOfPacket, getParsedName, getVersionAdapter
callFirstConstructor, getPacket, getPacket, getPacket, getPacket, getVersion, log, queuePacket, sendPacket
protected <T> T get(Object obj, Class<?> clazz, String name)
get
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
protected <T> T get(Object obj, String name)
get
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
protected <T> T get(Class<?> clazz, Object obj, String name)
get
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
protected Object getSafe(Object obj, String name)
getSafe
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
protected String getStr(Object obj, String name)
getStr
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
protected <T> T getFromMethod(Object obj, String methodName)
getFromMethod
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
protected <T> T getFromMethod(Class<?> clazz, Object obj, String methodName)
getFromMethod
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
public void sendPacket(org.spongepowered.api.entity.living.player.server.ServerPlayer p, Object basicPacket)
sendPacket
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
public void queuePacket(org.spongepowered.api.entity.living.player.server.ServerPlayer p, Object basicPacket)
queuePacket
in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>