Package zombie.network.packets.hit
Class MovingObject
java.lang.Object
zombie.network.packets.hit.MovingObject
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Modifier and TypeFieldDescriptionfinal byte
final byte
final byte
final byte
final byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
setMovingObject
(IsoMovingObject movingObject) 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, log
-
Field Details
-
objectTypeNone
public final byte objectTypeNone- See Also:
-
objectTypePlayer
public final byte objectTypePlayer- See Also:
-
objectTypeZombie
public final byte objectTypeZombie- See Also:
-
objectTypeVehicle
public final byte objectTypeVehicle- See Also:
-
objectTypeObject
public final byte objectTypeObject- See Also:
-
-
Constructor Details
-
MovingObject
public MovingObject()
-
-
Method Details
-
setMovingObject
-
getMovingObject
-
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-