Constructor and Description |
---|
PacketCommandServer(int response,
java.lang.String message,
java.lang.String id)
New PacketCommandServer (Out)
|
PacketCommandServer(SubPlugin plugin)
New PacketCommandServer (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 PacketCommandServer(SubPlugin plugin)
plugin
- SubPluginpublic PacketCommandServer(int response, java.lang.String message, java.lang.String id)
response
- Response IDmessage
- Messageid
- 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