Package zombie.network.packets
Class PlayerID
java.lang.Object
zombie.network.packets.hit.Instance
zombie.network.packets.PlayerID
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
parsePlayer
(UdpConnection udpConnection) void
void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
player
-
playerIndex
protected byte playerIndex
-
-
Constructor Details
-
PlayerID
public PlayerID()
-
-
Method Details
-
set
-
parsePlayer
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classInstance
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classInstance
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classInstance
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classInstance
-
getCharacter
-