Class VehicleID
java.lang.Object
zombie.network.fields.IDShort
zombie.network.fields.VehicleID
- All Implemented Interfaces:
INetworkPacketField,IPositional,IDescriptor
- Direct Known Subclasses:
VehicleFullRequestPacket,VehiclePositionRequestPacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetX()floatgetY()floatgetZ()booleanisConsistent(UdpConnection udpConnection) voidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidset(BaseVehicle vehiclex) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytesMethods inherited from interface zombie.network.fields.IPositional
isInRange
-
Constructor Details
-
VehicleID
public VehicleID()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classIDShort
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classIDShort
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField- Overrides:
isConsistentin classIDShort
-
getVehicle
-
getX
public float getX()- Specified by:
getXin interfaceIPositional
-
getY
public float getY()- Specified by:
getYin interfaceIPositional
-
getZ
public float getZ()- Specified by:
getZin interfaceIPositional
-