Constructor and Description |
---|
PacketEditServer(int response,
java.lang.String id)
New PacketEditServer (Out)
|
PacketEditServer(SubPlugin plugin)
New PacketEditServer (In)
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Client client,
org.json.JSONObject data)
Execute Incoming Packet
|
org.json.JSONObject |
generate()
Generate JSON Packet Contents
|
Version |
getVersion()
Get Packet Version
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatible
public PacketEditServer(SubPlugin plugin)
plugin
- SubPluginpublic PacketEditServer(int response, java.lang.String id)
response
- Response IDid
- Receiver IDpublic org.json.JSONObject generate()
PacketOut
public void execute(Client client, org.json.JSONObject data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut