Class VehiclePhysicsPacket
java.lang.Object
zombie.vehicles.VehicleInterpolationData
zombie.network.packets.vehicle.VehiclePhysicsPacket
- All Implemented Interfaces:
Comparable<VehicleInterpolationData>, INetworkPacketField, IDescriptor, INetworkPacket
- Direct Known Subclasses:
VehiclePhysicsReliablePacket, VehiclePhysicsUnreliablePacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisConsistent(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidprocessClient(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidset(BaseVehicle vehicle) voidvoidMethods inherited from class VehicleInterpolationData
compareTo, getPhysicsData, getPosition, getVelocityMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToRelativeClients, sendToServer, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes
-
Constructor Details
-
VehiclePhysicsPacket
public VehiclePhysicsPacket()
-
-
Method Details
-
set
- Overrides:
setin classVehicleInterpolationData
-
setData
- Specified by:
setDatain interfaceINetworkPacket
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classVehicleInterpolationData
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classVehicleInterpolationData
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-