public interface PacketIn
Modifier and Type | Method and Description |
---|---|
void |
execute(Client client,
org.json.JSONObject data)
Execute Incoming Packet
|
Version |
getVersion()
Get Packet Version
|
default boolean |
isCompatible(Version version)
Check Compatibility with oncoming packet
|
void execute(Client client, org.json.JSONObject data) throws java.lang.Throwable
client
- Client Acceptingdata
- Incoming Datajava.lang.Throwable
Version getVersion()
default boolean isCompatible(Version version)
version
- Version of oncoming packet