Package zombie.network.packets
Class PlayerID
java.lang.Object
zombie.network.packets.hit.Instance
zombie.network.packets.PlayerID
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidparsePlayer(UdpConnection udpConnection) voidvoidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
parsein interfaceINetworkPacket- Overrides:
parsein classInstance
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein classInstance
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket- Overrides:
isConsistentin classInstance
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket- Overrides:
getDescriptionin classInstance
-
getCharacter
-