Class VehicleHitField
java.lang.Object
zombie.network.fields.hit.Hit
zombie.network.fields.hit.VehicleHitField
- All Implemented Interfaces:
IMovable,INetworkPacketField,IDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanintfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetSpeed()booleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidprocess(IsoGameCharacter character0, IsoGameCharacter character1, BaseVehicle vehicle) voidset(boolean boolean0, float float0, float float1, float float2, float float3, int int0, float float4, boolean boolean1, boolean boolean2) 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, getDescriptionMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
vehicleDamage
public int vehicleDamage -
vehicleSpeed
public float vehicleSpeed -
isVehicleHitFromBehind
public boolean isVehicleHitFromBehind -
isTargetHitFromBehind
public boolean isTargetHitFromBehind
-
-
Constructor Details
-
VehicleHitField
public VehicleHitField()
-
-
Method Details
-
set
public void set(boolean boolean0, float float0, float float1, float float2, float float3, int int0, float float4, boolean boolean1, boolean boolean2) -
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classHit
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classHit
-
getDescription
- Specified by:
getDescriptionin interfaceIDescriptor- Overrides:
getDescriptionin classHit
-
process
-
getSpeed
-
isVehicle
-