public class CPacketPing extends java.lang.Object implements Packet<INetHandlerStatusServer>
Constructor and Description |
---|
CPacketPing() |
CPacketPing(long clientTimeIn) |
Modifier and Type | Method and Description |
---|---|
long |
getClientTime() |
void |
processPacket(INetHandlerStatusServer handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public CPacketPing()
public CPacketPing(long clientTimeIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerStatusServer>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerStatusServer>
java.io.IOException
public void processPacket(INetHandlerStatusServer handler)
processPacket
in interface Packet<INetHandlerStatusServer>
public long getClientTime()