Constructor and Description |
---|
PacketDownloadServerList(SubPlugin plugin) |
PacketDownloadServerList(SubPlugin plugin,
java.lang.String host,
java.lang.String id) |
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
|
public PacketDownloadServerList(SubPlugin plugin)
public PacketDownloadServerList(SubPlugin plugin, java.lang.String host, java.lang.String id)
public 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