Package zombie.network.packets
Class SyncInjuriesPacket
java.lang.Object
zombie.network.packets.SyncInjuriesPacket
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionshortfloatfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) booleanprocess()booleanvoidwrite(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
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:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-