Modifier and Type | Class and Description |
---|---|
static class |
PacketExUpdateServer.UpdateType |
Constructor and Description |
---|
PacketExUpdateServer(ExHost host)
New PacketExUpdateServer (In)
|
PacketExUpdateServer(SubServer server,
PacketExUpdateServer.UpdateType type,
java.lang.Object... arguments)
New PacketExUpdateServer (Out)
|
Modifier and Type | Method and Description |
---|---|
void |
execute(org.json.JSONObject data)
Execute Incoming Packet
|
org.json.JSONObject |
generate()
Generate JSON Packet Contents
|
Version |
getVersion()
Get Packet Version
|
public PacketExUpdateServer(ExHost host)
host
- SubPluginpublic PacketExUpdateServer(SubServer server, PacketExUpdateServer.UpdateType type, java.lang.Object... arguments)
type
- Update Typearguments
- Argumentspublic org.json.JSONObject generate()
PacketOut
public void execute(org.json.JSONObject data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut