public class S00PacketServerInfo extends java.lang.Object implements Packet<INetHandlerStatusClient>
Modifier and Type | Field and Description |
---|---|
static Gson |
GSON |
Constructor and Description |
---|
S00PacketServerInfo() |
S00PacketServerInfo(ServerStatusResponse responseIn) |
Modifier and Type | Method and Description |
---|---|
ServerStatusResponse |
getResponse() |
void |
processPacket(INetHandlerStatusClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
public S00PacketServerInfo()
public S00PacketServerInfo(ServerStatusResponse responseIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerStatusClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerStatusClient>
java.io.IOException
public void processPacket(INetHandlerStatusClient handler)
processPacket
in interface Packet<INetHandlerStatusClient>
public ServerStatusResponse getResponse()