public class SServerInfoPacket extends java.lang.Object implements IPacket<IClientStatusNetHandler>
修飾子とタイプ | フィールドと説明 |
---|---|
static com.google.gson.Gson |
GSON |
コンストラクタと説明 |
---|
SServerInfoPacket() |
SServerInfoPacket(ServerStatusResponse responseIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
ServerStatusResponse |
getResponse() |
void |
processPacket(IClientStatusNetHandler 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public SServerInfoPacket()
public SServerInfoPacket(ServerStatusResponse responseIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
インタフェース内 IPacket<IClientStatusNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
インタフェース内 IPacket<IClientStatusNetHandler>
java.io.IOException
public void processPacket(IClientStatusNetHandler handler)
processPacket
インタフェース内 IPacket<IClientStatusNetHandler>
public ServerStatusResponse getResponse()