Package zombie.iso.objects
Class IsoWorldInventoryObject
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoWorldInventoryObject
- All Implemented Interfaces:
java.io.Serializable
,Thumpable
public class IsoWorldInventoryObject extends IsoObject
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description double
dropTime
boolean
ignoreRemoveSandbox
InventoryItem
item
boolean
removeProcess
float
xoff
float
yoff
float
zoff
Fields inherited from class zombie.iso.IsoObject
AttachedAnimSprite, bAlphaForced, bmod, bMovedThumpable, bNeverDoneAlpha, container, Damage, dir, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, outlineHighlightCol, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description IsoWorldInventoryObject(InventoryItem inventoryItem, IsoGridSquare square, float float1, float float2, float float3)
IsoWorldInventoryObject(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
void
DoTooltip(ObjectTooltip objectTooltip)
boolean
finishupdate()
InventoryItem
getItem()
java.lang.String
getObjectName()
float
getScreenPosX(int int1)
float
getScreenPosY(int int1)
int
getWaterAmount()
int
getWaterMax()
float
getWorldPosX()
float
getWorldPosY()
float
getWorldPosZ()
boolean
HasTooltip()
boolean
isIgnoreRemoveSandbox()
boolean
isTaintedWater()
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
void
loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)
boolean
onMouseLeftClick(int int1, int int2)
void
removeFromSquare()
void
removeFromWorld()
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
void
renderObjectPicker(float float1, float float2, float float3, ColorInfo colorInfo)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
boolean
Serialize()
void
setIgnoreRemoveSandbox(boolean boolean1)
void
setTaintedWater(boolean boolean1)
void
setWaterAmount(int int1)
void
softReset()
void
swapItem(InventoryItem inventoryItem)
void
update()
void
updateSprite()
Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addSecondaryContainer, addSheetRope, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, Collision, countAddSheetRope, createContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPosition, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getThumpableFor, getThumpCondition, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isCharacter, isDestroyed, isExistInTheWorld, isHighlighted, isHoppable, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTargetAlphaZero, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, isZombie, load, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderlast, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveState, sendObjectChange, sendObjectChange, sendObjectChange, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTargetAlpha, setTargetAlpha, setType, setUsesExternalWaterSource, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, useItemOn, useWater, WeaponHit, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
item
-
xoff
public float xoff -
yoff
public float yoff -
zoff
public float zoff -
removeProcess
public boolean removeProcess -
dropTime
public double dropTime -
ignoreRemoveSandbox
public boolean ignoreRemoveSandbox
-
-
Constructor Details
-
IsoWorldInventoryObject
public IsoWorldInventoryObject(InventoryItem inventoryItem, IsoGridSquare square, float float1, float float2, float float3) -
IsoWorldInventoryObject
-
-
Method Details
-
swapItem
-
saveChange
public void saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)- Overrides:
saveChange
in classIsoObject
-
loadChange
public void loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)- Overrides:
loadChange
in classIsoObject
-
getWaterAmount
public int getWaterAmount()- Overrides:
getWaterAmount
in classIsoObject
-
setWaterAmount
public void setWaterAmount(int int1)- Overrides:
setWaterAmount
in classIsoObject
-
getWaterMax
public int getWaterMax()- Overrides:
getWaterMax
in classIsoObject
-
isTaintedWater
public boolean isTaintedWater()- Overrides:
isTaintedWater
in classIsoObject
-
setTaintedWater
public void setTaintedWater(boolean boolean1)- Overrides:
setTaintedWater
in classIsoObject
-
update
public void update() -
updateSprite
public void updateSprite() -
finishupdate
public boolean finishupdate() -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException -
Serialize
public boolean Serialize() -
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException -
softReset
public void softReset() -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
DoTooltip
-
HasTooltip
public boolean HasTooltip()- Overrides:
HasTooltip
in classIsoObject
-
onMouseLeftClick
public boolean onMouseLeftClick(int int1, int int2)- Overrides:
onMouseLeftClick
in classIsoObject
-
render
-
renderObjectPicker
- Overrides:
renderObjectPicker
in classIsoObject
-
getItem
-
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
removeFromSquare
public void removeFromSquare()- Overrides:
removeFromSquare
in classIsoObject
-
getScreenPosX
public float getScreenPosX(int int1) -
getScreenPosY
public float getScreenPosY(int int1) -
setIgnoreRemoveSandbox
public void setIgnoreRemoveSandbox(boolean boolean1) -
isIgnoreRemoveSandbox
public boolean isIgnoreRemoveSandbox() -
getWorldPosX
public float getWorldPosX() -
getWorldPosY
public float getWorldPosY() -
getWorldPosZ
public float getWorldPosZ()
-