Package zombie.network.packets
Class SyncInjuriesPacket
java.lang.Object
zombie.network.packets.SyncInjuriesPacket
- All Implemented Interfaces:
INetworkPacket
public class SyncInjuriesPacket extends java.lang.Object implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description shortidfloatstrafeSpeedfloatwalkInjuryfloatwalkSpeed -
Constructor Summary
Constructors Constructor Description SyncInjuriesPacket() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()intgetPacketSizeBytes()voidparse(java.nio.ByteBuffer byteBuffer)voidprocess(IsoPlayer player)booleanset(IsoPlayer player)voidwrite(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
-
Field Details
-
id
public short id -
strafeSpeed
public float strafeSpeed -
walkSpeed
public float walkSpeed -
walkInjury
public float walkInjury
-
-
Constructor Details
-
SyncInjuriesPacket
public SyncInjuriesPacket()
-
-
Method Details
-
set
-
process
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket
-