Modifier and Type | Class and Description |
---|---|
static class |
PacketExUpdateServer.UpdateType |
Constructor and Description |
---|
PacketExUpdateServer(SubPlugin plugin)
New PacketExUpdateServer (In)
|
PacketExUpdateServer(SubServer server,
PacketExUpdateServer.UpdateType type,
java.lang.Object... arguments)
New PacketExUpdateServer (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 PacketExUpdateServer(SubPlugin plugin)
plugin
- SubPluginpublic PacketExUpdateServer(SubServer server, PacketExUpdateServer.UpdateType type, java.lang.Object... arguments)
server
- SubServertype
- Update Typearguments
- Argumentspublic 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