Constructor and Description |
---|
PacketLinkServer(java.lang.String name,
int response,
java.lang.String message)
New PacketLinkServer (Out)
|
PacketLinkServer(SubPlugin plugin)
New PacketLinkServer (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 PacketLinkServer(SubPlugin plugin)
plugin
- SubPluginpublic PacketLinkServer(java.lang.String name, int response, java.lang.String message)
name
- The name that was determinedresponse
- Response IDmessage
- Messagepublic 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