public class NPacketPlayOutPing extends Object implements NPacketPlayOut
Modifier and Type | Field and Description |
---|---|
long |
id |
Constructor and Description |
---|
NPacketPlayOutPing() |
NPacketPlayOutPing(long id) |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType()
Get type of packet
|
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
void |
write(PacketSerializer serializer,
Version version)
Write packet to given serializer
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, getPacketName
public NPacketPlayOutPing()
public NPacketPlayOutPing(long id)
public void read(PacketSerializer serializer, Version version)
NPacket
public void write(PacketSerializer serializer, Version version)
NPacket
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket