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 short
id
float
strafeSpeed
float
walkInjury
float
walkSpeed
-
Constructor Summary
Constructors Constructor Description SyncInjuriesPacket()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
int
getPacketSizeBytes()
void
parse(java.nio.ByteBuffer byteBuffer)
void
process(IsoPlayer player)
boolean
set(IsoPlayer player)
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
-
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:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
-