public class NPacketHandshakeUnset extends Object implements NPacketHandshake, NPacketUnset
Modifier and Type | Field and Description |
---|---|
PacketType |
cible |
String |
packetName |
Constructor and Description |
---|
NPacketHandshakeUnset() |
NPacketHandshakeUnset(String packetName) |
Modifier and Type | Method and Description |
---|---|
String |
getPacketName() |
PacketType |
getPacketType()
Get type of packet
|
PacketType |
getPacketTypeCible() |
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
void |
setPacketName(String name) |
void |
setPacketTypeCible(PacketType type) |
public String packetName
public PacketType cible
public NPacketHandshakeUnset()
public NPacketHandshakeUnset(String packetName)
public void read(PacketSerializer serializer, Version version)
NPacket
read
in interface NPacket
read
in interface NPacketHandshake
read
in interface NPacketUnset
serializer
- the content of packetversion
- the version of packetpublic void setPacketTypeCible(PacketType type)
setPacketTypeCible
in interface NPacketUnset
public PacketType getPacketTypeCible()
getPacketTypeCible
in interface NPacketUnset
public void setPacketName(String name)
setPacketName
in interface NPacketUnset
public String getPacketName()
getPacketName
in interface NPacket
getPacketName
in interface NPacketUnset
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket