Package zombie.network.packets
Class PlayerPacket
java.lang.Object
zombie.network.packets.PlayerPacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionbyte
int
float
float
float
byte
short
static final int
byte
int
float
float
byte
boolean
short
short
float
float
byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(PlayerPacket playerPacket) int
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) boolean
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
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:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
set
-
copy
-