Package zombie.network.packets
Class ZombiePacket
java.lang.Object
zombie.network.packets.ZombiePacket
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionshortintshortshortfloatfloatbytebyteshortfloatfloatbyteshortintshortshortintfloatfloatbyte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(ZombiePacket zombiePacket) intvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidvoidwrite(ByteBuffer byteBuffer) 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
getDescription, isConsistent, log
-
Field Details
-
id
public short id -
x
public float x -
y
public float y -
z
public byte z -
descriptorID
public int descriptorID -
moveType
-
booleanVariables
public short booleanVariables -
target
public short target -
timeSinceSeenFlesh
public int timeSinceSeenFlesh -
smParamTargetAngle
public int smParamTargetAngle -
speedMod
public short speedMod -
walkType
-
realX
public float realX -
realY
public float realY -
realZ
public byte realZ -
realHealth
public short realHealth -
realState
-
reanimatedBodyID
public short reanimatedBodyID -
pfbType
public byte pfbType -
pfbTarget
public short pfbTarget -
pfbTargetX
public float pfbTargetX -
pfbTargetY
public float pfbTargetY -
pfbTargetZ
public byte pfbTargetZ
-
-
Constructor Details
-
ZombiePacket
public ZombiePacket()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
copy
-
set
-