Constructor and Description |
---|
PacketDownloadServerList(SubPlugin plugin)
New PacketDownloadServerList (In)
|
PacketDownloadServerList(SubPlugin plugin,
java.lang.String host,
java.lang.String group,
java.lang.String id)
New PacketDownloadServerList (Out)
|
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 PacketDownloadServerList(SubPlugin plugin)
plugin
- SubPluginpublic PacketDownloadServerList(SubPlugin plugin, java.lang.String host, java.lang.String group, java.lang.String id)
plugin
- SubPluginhost
- Host (or null for all)group
- Group (or null for all)id
- 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