Package zombie.vehicles
Class VehiclePart
java.lang.Object
zombie.vehicles.VehiclePart
- All Implemented Interfaces:
ChatElementOwner
,WaveSignalDevice
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected String
protected ChatElement
protected ArrayList
protected int
protected ItemContainer
protected DeviceData
protected VehicleDoor
protected boolean
protected InventoryItem
protected float
protected VehicleLight
protected int
protected KahluaTable
protected VehiclePart
protected String
protected VehicleScript.Part
protected boolean
protected short
protected BaseVehicle
protected float
protected VehicleWindow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(VehiclePart vehiclePart) void
AddDeviceText
(String string, float float1, float float2, float float3, String string2, String string3, int int1) void
createSpotLight
(float float1, float float2, float float3, float float4, float float5, int int1) void
damage
(int int1) void
doInventoryItemStats
(InventoryItem inventoryItem, int int1) getAnimById
(String string) getArea()
getChild
(int int1) int
int
int
int
getContainerCapacity
(IsoGameCharacter gameCharacter) float
int
float
getDelta()
getDoor()
float
getId()
int
getIndex()
float
getLight()
float
float
float
getLuaFunction
(String string) int
static float
getNumberByCondition
(float float1, float float2, float float3) protected VehicleScript.Model
getScriptModelById
(String string) float
float
float
int
float
getX()
float
getY()
float
getZ()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
load
(ByteBuffer byteBuffer, int int1) void
repair()
void
save
(ByteBuffer byteBuffer) void
setAllModelsVisible
(boolean boolean1) void
setCategory
(String string) void
setCondition
(int int1) void
setContainerCapacity
(int int1) void
setContainerContentAmount
(float float1) void
setContainerContentAmount
(float float1, boolean boolean1, boolean boolean2) void
setDelta
(float float1) void
setDeviceData
(DeviceData deviceData) void
setEngineLoudness
(float float1) void
setGeneralCondition
(InventoryItem inventoryItem, float float1, float float2) void
setInventoryItem
(InventoryItem inventoryItem) void
setInventoryItem
(InventoryItem inventoryItem, int int1) void
setItemContainer
(ItemContainer itemContainer) void
setLastUpdated
(float float1) void
setLightActive
(boolean boolean1) void
setMechanicSkillInstaller
(int int1) void
setModelVisible
(String string, boolean boolean1) void
setRandomCondition
(InventoryItem inventoryItem) void
void
setSpecificItem
(boolean boolean1) void
setSuspensionCompression
(float float1) void
setSuspensionDamping
(float float1) void
setWheelFriction
(float float1) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.radio.devices.WaveSignalDevice
AddDeviceText
-
Field Details
-
vehicle
-
bCreated
protected boolean bCreated -
partId
-
scriptPart
-
container
-
item
-
modData
-
lastUpdated
protected float lastUpdated -
updateFlags
protected short updateFlags -
parent
-
door
-
window
-
children
-
category
-
condition
protected int condition -
specificItem
protected boolean specificItem -
wheelFriction
protected float wheelFriction -
mechanicSkillInstaller
protected int mechanicSkillInstaller -
light
-
deviceData
-
chatElement
-
hasPlayerInRange
protected boolean hasPlayerInRange
-
-
Constructor Details
-
VehiclePart
-
-
Method Details
-
getVehicle
-
setScriptPart
-
getScriptPart
-
getItemContainer
-
setItemContainer
-
hasModData
public boolean hasModData() -
getModData
-
getLastUpdated
public float getLastUpdated() -
setLastUpdated
public void setLastUpdated(float float1) -
getId
-
getIndex
public int getIndex() -
getArea
-
getItemType
-
getTable
-
getInventoryItem
-
setInventoryItem
-
setInventoryItem
-
isInventoryItemUninstalled
public boolean isInventoryItemUninstalled() -
isSetAllModelsVisible
public boolean isSetAllModelsVisible() -
setAllModelsVisible
public void setAllModelsVisible(boolean boolean1) -
doInventoryItemStats
-
setRandomCondition
-
setGeneralCondition
-
getNumberByCondition
public static float getNumberByCondition(float float1, float float2, float float3) -
isContainer
public boolean isContainer() -
getContainerCapacity
public int getContainerCapacity() -
getContainerCapacity
-
setContainerCapacity
public void setContainerCapacity(int int1) -
getContainerContentType
-
getContainerContentAmount
public float getContainerContentAmount() -
setContainerContentAmount
public void setContainerContentAmount(float float1) -
setContainerContentAmount
public void setContainerContentAmount(float float1, boolean boolean1, boolean boolean2) -
getContainerSeatNumber
public int getContainerSeatNumber() -
getLuaFunction
-
getScriptModelById
-
setModelVisible
-
getParent
-
addChild
-
getChildCount
public int getChildCount() -
getChild
-
getDoor
-
getWindow
-
getChildWindow
-
findWindow
-
getAnimById
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-
getWheelIndex
public int getWheelIndex() -
createSpotLight
public void createSpotLight(float float1, float float2, float float3, float float4, float float5, int int1) -
getLight
-
getLightDistance
public float getLightDistance() -
getLightIntensity
public float getLightIntensity() -
getLightFocusing
public float getLightFocusing() -
setLightActive
public void setLightActive(boolean boolean1) -
createSignalDevice
-
hasDevicePower
public boolean hasDevicePower() -
getDeviceData
- Specified by:
getDeviceData
in interfaceWaveSignalDevice
-
setDeviceData
- Specified by:
setDeviceData
in interfaceWaveSignalDevice
-
getDelta
public float getDelta()- Specified by:
getDelta
in interfaceWaveSignalDevice
-
setDelta
public void setDelta(float float1) - Specified by:
setDelta
in interfaceWaveSignalDevice
-
getX
public float getX()- Specified by:
getX
in interfaceChatElementOwner
- Specified by:
getX
in interfaceWaveSignalDevice
-
getY
public float getY()- Specified by:
getY
in interfaceChatElementOwner
- Specified by:
getY
in interfaceWaveSignalDevice
-
getZ
public float getZ()- Specified by:
getZ
in interfaceChatElementOwner
- Specified by:
getZ
in interfaceWaveSignalDevice
-
getSquare
- Specified by:
getSquare
in interfaceChatElementOwner
- Specified by:
getSquare
in interfaceWaveSignalDevice
-
AddDeviceText
public void AddDeviceText(String string, float float1, float float2, float float3, String string2, String string3, int int1) - Specified by:
AddDeviceText
in interfaceWaveSignalDevice
-
HasPlayerInRange
public boolean HasPlayerInRange()- Specified by:
HasPlayerInRange
in interfaceWaveSignalDevice
-
updateSignalDevice
public void updateSignalDevice() -
getCategory
-
setCategory
-
getCondition
public int getCondition() -
setCondition
public void setCondition(int int1) -
damage
public void damage(int int1) -
isSpecificItem
public boolean isSpecificItem() -
setSpecificItem
public void setSpecificItem(boolean boolean1) -
getWheelFriction
public float getWheelFriction() -
setWheelFriction
public void setWheelFriction(float float1) -
getMechanicSkillInstaller
public int getMechanicSkillInstaller() -
setMechanicSkillInstaller
public void setMechanicSkillInstaller(int int1) -
getSuspensionDamping
public float getSuspensionDamping() -
setSuspensionDamping
public void setSuspensionDamping(float float1) -
getSuspensionCompression
public float getSuspensionCompression() -
setSuspensionCompression
public void setSuspensionCompression(float float1) -
getEngineLoudness
public float getEngineLoudness() -
setEngineLoudness
public void setEngineLoudness(float float1) -
repair
public void repair() -
getChatElement
-