Constructor and Description |
---|
PacketDownloadServerList()
New PacketDownloadServerList (In)
|
PacketDownloadServerList(java.lang.String host,
java.lang.String group,
Callback<YAMLSection>... callback)
New PacketDownloadServerList (Out)
|
Modifier and Type | Method and Description |
---|---|
void |
execute(YAMLSection data)
Execute Incoming Packet
|
YAMLSection |
generate()
Generate JSON Packet Contents
|
Version |
getVersion()
Get Packet Version
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatible
public PacketDownloadServerList()
@SafeVarargs public PacketDownloadServerList(java.lang.String host, java.lang.String group, Callback<YAMLSection>... callback)
host
- Host name (or null for all)group
- Group name (or null for all)callback
- Callbackspublic YAMLSection generate()
PacketOut
public void execute(YAMLSection data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut