Package zombie.network.packets
Class PlayerPacket
java.lang.Object
zombie.network.packets.PlayerPacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionbyteintfloatfloatfloatbyteshortstatic final intbyteintfloatfloatbytebooleanshortshortfloatfloatbyte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(PlayerPacket playerPacket) intvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) 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
getDescription, isConsistent, log
-
Field Details
-
PACKET_SIZE_BYTES
public static final int PACKET_SIZE_BYTES- See Also:
-
id
public short id -
x
public float x -
y
public float y -
z
public byte z -
direction
public float direction -
usePathFinder
public boolean usePathFinder -
moveType
-
VehicleID
public short VehicleID -
VehicleSeat
public short VehicleSeat -
booleanVariables
public int booleanVariables -
footstepSoundRadius
public byte footstepSoundRadius -
bleedingLevel
public byte bleedingLevel -
realx
public float realx -
realy
public float realy -
realz
public byte realz -
realdir
public byte realdir -
realt
public int realt -
collidePointX
public float collidePointX -
collidePointY
public float collidePointY -
variables
-
-
Constructor Details
-
PlayerPacket
public PlayerPacket()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
set
-
copy
-