Package zombie.network.packets
Class SyncInjuriesPacket
java.lang.Object
zombie.network.packets.SyncInjuriesPacket
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Modifier and TypeFieldDescriptionshort
float
float
float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) boolean
process()
boolean
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
isConsistent, log
-
Field Details
-
id
public short id -
strafeSpeed
public float strafeSpeed -
walkSpeed
public float walkSpeed -
walkInjury
public float walkInjury -
player
-
-
Constructor Details
-
SyncInjuriesPacket
public SyncInjuriesPacket()
-
-
Method Details
-
set
-
process
public boolean process() -
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-