Package zombie.network.packets.hit
Class MovingObject
java.lang.Object
zombie.network.packets.hit.MovingObject
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal bytefinal bytefinal bytefinal bytefinal byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidsetMovingObject(IsoMovingObject movingObject) 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
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:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-