Class SharedVehicleState
java.lang.Object
zombie.vehicleNetworkSound.SharedVehicleState
- Direct Known Subclasses:
AddVehiclePacket, UpdateVehiclePacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionbytebyteshortbyteshortfinal LightbarSirenModebytebyteshortfloatfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintset(SharedVehicleState other) set(SharedVehicleState other, int changeBits) set(BaseVehicle vehicle) voidvoidwrite(ByteBufferWriter b, int changeBits)
-
Field Details
-
id
public short id -
scriptName
-
x
public float x -
y
public float y -
z
public float z -
engineState
-
vehicleStateFlags
public short vehicleStateFlags -
engineSpeed
public short engineSpeed -
currentSpeedKmHour
public byte currentSpeedKmHour -
gear
public byte gear -
engineCondition
public byte engineCondition -
chosenAlarmSound
-
lightbarSirenMode
-
minWheelSkid
public byte minWheelSkid -
steering
public byte steering -
roadMaterial
-
-
Constructor Details
-
SharedVehicleState
public SharedVehicleState()
-
-
Method Details
-
set
-
write
-
parse
-
write
-
parseUpdate
-