Class ItemContainer

java.lang.Object
zombie.inventory.ItemContainer

public final class ItemContainer
extends java.lang.Object
  • Field Details

    • active

      public boolean active
    • IsDevice

      public boolean IsDevice
    • ageFactor

      public float ageFactor
    • CookingFactor

      public float CookingFactor
    • Capacity

      public int Capacity
    • containingItem

      public InventoryItem containingItem
    • Items

      public java.util.ArrayList Items
    • IncludingObsoleteItems

      public java.util.ArrayList IncludingObsoleteItems
    • parent

      public IsoObject parent
    • SourceGrid

      public IsoGridSquare SourceGrid
    • vehiclePart

      public VehiclePart vehiclePart
    • inventoryContainer

      public InventoryContainer inventoryContainer
    • bExplored

      public boolean bExplored
    • type

      public java.lang.String type
    • ID

      public int ID
  • Constructor Details

    • ItemContainer

      public ItemContainer​(int int1, java.lang.String string, IsoGridSquare square, IsoObject object)
    • ItemContainer

      public ItemContainer​(java.lang.String string, IsoGridSquare square, IsoObject object)
    • ItemContainer

      public ItemContainer​(int int1)
    • ItemContainer

      public ItemContainer()
  • Method Details

    • floatingPointCorrection

      public static float floatingPointCorrection​(float float1)
    • getCapacity

      public int getCapacity()
    • FindAndReturnWaterItem

      public InventoryItem FindAndReturnWaterItem​(int int1)
    • getItemFromTypeRecurse

      public InventoryItem getItemFromTypeRecurse​(java.lang.String string)
    • getEffectiveCapacity

      public int getEffectiveCapacity​(IsoGameCharacter gameCharacter)
    • hasRoomFor

      public boolean hasRoomFor​(IsoGameCharacter gameCharacter, InventoryItem inventoryItem)
    • hasRoomFor

      public boolean hasRoomFor​(IsoGameCharacter gameCharacter, float float1)
    • isItemAllowed

      public boolean isItemAllowed​(InventoryItem inventoryItem)
    • isRemoveItemAllowed

      public boolean isRemoveItemAllowed​(InventoryItem inventoryItem)
    • isExplored

      public boolean isExplored()
    • setExplored

      public void setExplored​(boolean boolean1)
    • isInCharacterInventory

      public boolean isInCharacterInventory​(IsoGameCharacter gameCharacter)
    • isInside

      public boolean isInside​(InventoryItem inventoryItem)
    • getContainingItem

      public InventoryItem getContainingItem()
    • DoAddItem

      public InventoryItem DoAddItem​(InventoryItem inventoryItem)
    • DoAddItemBlind

      public InventoryItem DoAddItemBlind​(InventoryItem inventoryItem)
    • AddItems

      public java.util.ArrayList AddItems​(java.lang.String string, int int1)
    • AddItems

      public void AddItems​(InventoryItem inventoryItem, int int1)
    • getNumberOfItem

      public int getNumberOfItem​(java.lang.String string, boolean boolean1)
    • getNumberOfItem

      public int getNumberOfItem​(java.lang.String string)
    • getNumberOfItem

      public int getNumberOfItem​(java.lang.String string, boolean boolean1, java.util.ArrayList arrayList)
    • getNumberOfItem

      public int getNumberOfItem​(java.lang.String string, boolean boolean1, boolean boolean2)
    • addItem

      public InventoryItem addItem​(InventoryItem inventoryItem)
    • AddItem

      public InventoryItem AddItem​(InventoryItem inventoryItem)
    • AddItemBlind

      public InventoryItem AddItemBlind​(InventoryItem inventoryItem)
    • AddItem

      public InventoryItem AddItem​(java.lang.String string)
    • AddItem

      public boolean AddItem​(java.lang.String string, float float1)
    • contains

      public boolean contains​(InventoryItem inventoryItem)
    • containsWithModule

      public boolean containsWithModule​(java.lang.String string)
    • containsWithModule

      public boolean containsWithModule​(java.lang.String string, boolean boolean1)
    • removeItemOnServer

      public void removeItemOnServer​(InventoryItem inventoryItem)
    • addItemOnServer

      public void addItemOnServer​(InventoryItem inventoryItem)
    • contains

      public boolean contains​(InventoryItem inventoryItem, boolean boolean1)
    • contains

      public boolean contains​(java.lang.String string, boolean boolean1)
    • containsType

      public boolean containsType​(java.lang.String string)
    • containsTypeRecurse

      public boolean containsTypeRecurse​(java.lang.String string)
    • contains

      public boolean contains​(java.lang.String string, boolean boolean1, boolean boolean2)
    • contains

      public boolean contains​(java.lang.String string)
    • getBest

      public InventoryItem getBest​(java.util.function.Predicate predicate, java.util.Comparator comparator)
    • getBestRecurse

      public InventoryItem getBestRecurse​(java.util.function.Predicate predicate, java.util.Comparator comparator)
    • getBestType

      public InventoryItem getBestType​(java.lang.String string, java.util.Comparator comparator)
    • getBestTypeRecurse

      public InventoryItem getBestTypeRecurse​(java.lang.String string, java.util.Comparator comparator)
    • getBestEval

      public InventoryItem getBestEval​(LuaClosure luaClosure, LuaClosure luaClosure2)
    • getBestEvalRecurse

      public InventoryItem getBestEvalRecurse​(LuaClosure luaClosure, LuaClosure luaClosure2)
    • getBestEvalArg

      public InventoryItem getBestEvalArg​(LuaClosure luaClosure, LuaClosure luaClosure2, java.lang.Object object)
    • getBestEvalArgRecurse

      public InventoryItem getBestEvalArgRecurse​(LuaClosure luaClosure, LuaClosure luaClosure2, java.lang.Object object)
    • getBestTypeEval

      public InventoryItem getBestTypeEval​(java.lang.String string, LuaClosure luaClosure)
    • getBestTypeEvalRecurse

      public InventoryItem getBestTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • getBestTypeEvalArg

      public InventoryItem getBestTypeEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getBestTypeEvalArgRecurse

      public InventoryItem getBestTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getBestCondition

      public InventoryItem getBestCondition​(java.util.function.Predicate predicate)
    • getBestConditionRecurse

      public InventoryItem getBestConditionRecurse​(java.util.function.Predicate predicate)
    • getBestCondition

      public InventoryItem getBestCondition​(java.lang.String string)
    • getBestConditionRecurse

      public InventoryItem getBestConditionRecurse​(java.lang.String string)
    • getBestConditionEval

      public InventoryItem getBestConditionEval​(LuaClosure luaClosure)
    • getBestConditionEvalRecurse

      public InventoryItem getBestConditionEvalRecurse​(LuaClosure luaClosure)
    • getFirstEval

      public InventoryItem getFirstEval​(LuaClosure luaClosure)
    • getFirstEvalArg

      public InventoryItem getFirstEvalArg​(LuaClosure luaClosure, java.lang.Object object)
    • containsEval

      public boolean containsEval​(LuaClosure luaClosure)
    • containsEvalArg

      public boolean containsEvalArg​(LuaClosure luaClosure, java.lang.Object object)
    • containsEvalRecurse

      public boolean containsEvalRecurse​(LuaClosure luaClosure)
    • containsEvalArgRecurse

      public boolean containsEvalArgRecurse​(LuaClosure luaClosure, java.lang.Object object)
    • containsTag

      public boolean containsTag​(java.lang.String string)
    • containsTagEval

      public boolean containsTagEval​(java.lang.String string, LuaClosure luaClosure)
    • containsTagRecurse

      public boolean containsTagRecurse​(java.lang.String string)
    • containsTagEvalRecurse

      public boolean containsTagEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • containsTagEvalArgRecurse

      public boolean containsTagEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • containsTypeEvalRecurse

      public boolean containsTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • containsTypeEvalArgRecurse

      public boolean containsTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getFirst

      public InventoryItem getFirst​(java.util.function.Predicate predicate)
    • getFirstRecurse

      public InventoryItem getFirstRecurse​(java.util.function.Predicate predicate)
    • getSome

      public java.util.ArrayList getSome​(java.util.function.Predicate predicate, int int1, java.util.ArrayList arrayList)
    • getSomeRecurse

      public java.util.ArrayList getSomeRecurse​(java.util.function.Predicate predicate, int int1, java.util.ArrayList arrayList)
    • getAll

      public java.util.ArrayList getAll​(java.util.function.Predicate predicate, java.util.ArrayList arrayList)
    • getAllRecurse

      public java.util.ArrayList getAllRecurse​(java.util.function.Predicate predicate, java.util.ArrayList arrayList)
    • getCount

      public int getCount​(java.util.function.Predicate predicate)
    • getCountRecurse

      public int getCountRecurse​(java.util.function.Predicate predicate)
    • getCountTag

      public int getCountTag​(java.lang.String string)
    • getCountTagEval

      public int getCountTagEval​(java.lang.String string, LuaClosure luaClosure)
    • getCountTagEvalArg

      public int getCountTagEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getCountTagRecurse

      public int getCountTagRecurse​(java.lang.String string)
    • getCountTagEvalRecurse

      public int getCountTagEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • getCountTagEvalArgRecurse

      public int getCountTagEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getCountType

      public int getCountType​(java.lang.String string)
    • getCountTypeEval

      public int getCountTypeEval​(java.lang.String string, LuaClosure luaClosure)
    • getCountTypeEvalArg

      public int getCountTypeEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getCountTypeRecurse

      public int getCountTypeRecurse​(java.lang.String string)
    • getCountTypeEvalRecurse

      public int getCountTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • getCountTypeEvalArgRecurse

      public int getCountTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getCountEval

      public int getCountEval​(LuaClosure luaClosure)
    • getCountEvalArg

      public int getCountEvalArg​(LuaClosure luaClosure, java.lang.Object object)
    • getCountEvalRecurse

      public int getCountEvalRecurse​(LuaClosure luaClosure)
    • getCountEvalArgRecurse

      public int getCountEvalArgRecurse​(LuaClosure luaClosure, java.lang.Object object)
    • getFirstCategory

      public InventoryItem getFirstCategory​(java.lang.String string)
    • getFirstCategoryRecurse

      public InventoryItem getFirstCategoryRecurse​(java.lang.String string)
    • getFirstEvalRecurse

      public InventoryItem getFirstEvalRecurse​(LuaClosure luaClosure)
    • getFirstEvalArgRecurse

      public InventoryItem getFirstEvalArgRecurse​(LuaClosure luaClosure, java.lang.Object object)
    • getFirstTag

      public InventoryItem getFirstTag​(java.lang.String string)
    • getFirstTagRecurse

      public InventoryItem getFirstTagRecurse​(java.lang.String string)
    • getFirstTagEval

      public InventoryItem getFirstTagEval​(java.lang.String string, LuaClosure luaClosure)
    • getFirstTagEvalRecurse

      public InventoryItem getFirstTagEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • getFirstTagEvalArgRecurse

      public InventoryItem getFirstTagEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getFirstType

      public InventoryItem getFirstType​(java.lang.String string)
    • getFirstTypeRecurse

      public InventoryItem getFirstTypeRecurse​(java.lang.String string)
    • getFirstTypeEval

      public InventoryItem getFirstTypeEval​(java.lang.String string, LuaClosure luaClosure)
    • getFirstTypeEvalRecurse

      public InventoryItem getFirstTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • getFirstTypeEvalArgRecurse

      public InventoryItem getFirstTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getSomeCategory

      public java.util.ArrayList getSomeCategory​(java.lang.String string, int int1, java.util.ArrayList arrayList)
    • getSomeCategoryRecurse

      public java.util.ArrayList getSomeCategoryRecurse​(java.lang.String string, int int1, java.util.ArrayList arrayList)
    • getSomeTag

      public java.util.ArrayList getSomeTag​(java.lang.String string, int int1, java.util.ArrayList arrayList)
    • getSomeTagEval

      public java.util.ArrayList getSomeTagEval​(java.lang.String string, LuaClosure luaClosure, int int1, java.util.ArrayList arrayList)
    • getSomeTagEvalArg

      public java.util.ArrayList getSomeTagEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, int int1, java.util.ArrayList arrayList)
    • getSomeTagRecurse

      public java.util.ArrayList getSomeTagRecurse​(java.lang.String string, int int1, java.util.ArrayList arrayList)
    • getSomeTagEvalRecurse

      public java.util.ArrayList getSomeTagEvalRecurse​(java.lang.String string, LuaClosure luaClosure, int int1, java.util.ArrayList arrayList)
    • getSomeTagEvalArgRecurse

      public java.util.ArrayList getSomeTagEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, int int1, java.util.ArrayList arrayList)
    • getSomeType

      public java.util.ArrayList getSomeType​(java.lang.String string, int int1, java.util.ArrayList arrayList)
    • getSomeTypeEval

      public java.util.ArrayList getSomeTypeEval​(java.lang.String string, LuaClosure luaClosure, int int1, java.util.ArrayList arrayList)
    • getSomeTypeEvalArg

      public java.util.ArrayList getSomeTypeEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, int int1, java.util.ArrayList arrayList)
    • getSomeTypeRecurse

      public java.util.ArrayList getSomeTypeRecurse​(java.lang.String string, int int1, java.util.ArrayList arrayList)
    • getSomeTypeEvalRecurse

      public java.util.ArrayList getSomeTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure, int int1, java.util.ArrayList arrayList)
    • getSomeTypeEvalArgRecurse

      public java.util.ArrayList getSomeTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, int int1, java.util.ArrayList arrayList)
    • getSomeEval

      public java.util.ArrayList getSomeEval​(LuaClosure luaClosure, int int1, java.util.ArrayList arrayList)
    • getSomeEvalArg

      public java.util.ArrayList getSomeEvalArg​(LuaClosure luaClosure, java.lang.Object object, int int1, java.util.ArrayList arrayList)
    • getSomeEvalRecurse

      public java.util.ArrayList getSomeEvalRecurse​(LuaClosure luaClosure, int int1, java.util.ArrayList arrayList)
    • getSomeEvalArgRecurse

      public java.util.ArrayList getSomeEvalArgRecurse​(LuaClosure luaClosure, java.lang.Object object, int int1, java.util.ArrayList arrayList)
    • getAllCategory

      public java.util.ArrayList getAllCategory​(java.lang.String string, java.util.ArrayList arrayList)
    • getAllCategoryRecurse

      public java.util.ArrayList getAllCategoryRecurse​(java.lang.String string, java.util.ArrayList arrayList)
    • getAllTag

      public java.util.ArrayList getAllTag​(java.lang.String string, java.util.ArrayList arrayList)
    • getAllTagEval

      public java.util.ArrayList getAllTagEval​(java.lang.String string, LuaClosure luaClosure, java.util.ArrayList arrayList)
    • getAllTagEvalArg

      public java.util.ArrayList getAllTagEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, java.util.ArrayList arrayList)
    • getAllTagRecurse

      public java.util.ArrayList getAllTagRecurse​(java.lang.String string, java.util.ArrayList arrayList)
    • getAllTagEvalRecurse

      public java.util.ArrayList getAllTagEvalRecurse​(java.lang.String string, LuaClosure luaClosure, java.util.ArrayList arrayList)
    • getAllTagEvalArgRecurse

      public java.util.ArrayList getAllTagEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, java.util.ArrayList arrayList)
    • getAllType

      public java.util.ArrayList getAllType​(java.lang.String string, java.util.ArrayList arrayList)
    • getAllTypeEval

      public java.util.ArrayList getAllTypeEval​(java.lang.String string, LuaClosure luaClosure, java.util.ArrayList arrayList)
    • getAllTypeEvalArg

      public java.util.ArrayList getAllTypeEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, java.util.ArrayList arrayList)
    • getAllTypeRecurse

      public java.util.ArrayList getAllTypeRecurse​(java.lang.String string, java.util.ArrayList arrayList)
    • getAllTypeEvalRecurse

      public java.util.ArrayList getAllTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure, java.util.ArrayList arrayList)
    • getAllTypeEvalArgRecurse

      public java.util.ArrayList getAllTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, java.util.ArrayList arrayList)
    • getAllEval

      public java.util.ArrayList getAllEval​(LuaClosure luaClosure, java.util.ArrayList arrayList)
    • getAllEvalArg

      public java.util.ArrayList getAllEvalArg​(LuaClosure luaClosure, java.lang.Object object, java.util.ArrayList arrayList)
    • getAllEvalRecurse

      public java.util.ArrayList getAllEvalRecurse​(LuaClosure luaClosure, java.util.ArrayList arrayList)
    • getAllEvalArgRecurse

      public java.util.ArrayList getAllEvalArgRecurse​(LuaClosure luaClosure, java.lang.Object object, java.util.ArrayList arrayList)
    • getSomeCategory

      public java.util.ArrayList getSomeCategory​(java.lang.String string, int int1)
    • getSomeEval

      public java.util.ArrayList getSomeEval​(LuaClosure luaClosure, int int1)
    • getSomeEvalArg

      public java.util.ArrayList getSomeEvalArg​(LuaClosure luaClosure, java.lang.Object object, int int1)
    • getSomeTypeEval

      public java.util.ArrayList getSomeTypeEval​(java.lang.String string, LuaClosure luaClosure, int int1)
    • getSomeTypeEvalArg

      public java.util.ArrayList getSomeTypeEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, int int1)
    • getSomeEvalRecurse

      public java.util.ArrayList getSomeEvalRecurse​(LuaClosure luaClosure, int int1)
    • getSomeEvalArgRecurse

      public java.util.ArrayList getSomeEvalArgRecurse​(LuaClosure luaClosure, java.lang.Object object, int int1)
    • getSomeTag

      public java.util.ArrayList getSomeTag​(java.lang.String string, int int1)
    • getSomeTagRecurse

      public java.util.ArrayList getSomeTagRecurse​(java.lang.String string, int int1)
    • getSomeTagEvalRecurse

      public java.util.ArrayList getSomeTagEvalRecurse​(java.lang.String string, LuaClosure luaClosure, int int1)
    • getSomeTagEvalArgRecurse

      public java.util.ArrayList getSomeTagEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, int int1)
    • getSomeType

      public java.util.ArrayList getSomeType​(java.lang.String string, int int1)
    • getSomeTypeRecurse

      public java.util.ArrayList getSomeTypeRecurse​(java.lang.String string, int int1)
    • getSomeTypeEvalRecurse

      public java.util.ArrayList getSomeTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure, int int1)
    • getSomeTypeEvalArgRecurse

      public java.util.ArrayList getSomeTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object, int int1)
    • getAll

      public java.util.ArrayList getAll​(java.util.function.Predicate predicate)
    • getAllCategory

      public java.util.ArrayList getAllCategory​(java.lang.String string)
    • getAllEval

      public java.util.ArrayList getAllEval​(LuaClosure luaClosure)
    • getAllEvalArg

      public java.util.ArrayList getAllEvalArg​(LuaClosure luaClosure, java.lang.Object object)
    • getAllTagEval

      public java.util.ArrayList getAllTagEval​(java.lang.String string, LuaClosure luaClosure)
    • getAllTagEvalArg

      public java.util.ArrayList getAllTagEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getAllTypeEval

      public java.util.ArrayList getAllTypeEval​(java.lang.String string, LuaClosure luaClosure)
    • getAllTypeEvalArg

      public java.util.ArrayList getAllTypeEvalArg​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • getAllEvalRecurse

      public java.util.ArrayList getAllEvalRecurse​(LuaClosure luaClosure)
    • getAllEvalArgRecurse

      public java.util.ArrayList getAllEvalArgRecurse​(LuaClosure luaClosure, java.lang.Object object)
    • getAllType

      public java.util.ArrayList getAllType​(java.lang.String string)
    • getAllTypeRecurse

      public java.util.ArrayList getAllTypeRecurse​(java.lang.String string)
    • getAllTypeEvalRecurse

      public java.util.ArrayList getAllTypeEvalRecurse​(java.lang.String string, LuaClosure luaClosure)
    • getAllTypeEvalArgRecurse

      public java.util.ArrayList getAllTypeEvalArgRecurse​(java.lang.String string, LuaClosure luaClosure, java.lang.Object object)
    • FindAndReturnCategory

      public InventoryItem FindAndReturnCategory​(java.lang.String string)
    • FindAndReturn

      public java.util.ArrayList FindAndReturn​(java.lang.String string, int int1)
    • FindAndReturn

      public InventoryItem FindAndReturn​(java.lang.String string, java.util.ArrayList arrayList)
    • FindAndReturn

      public InventoryItem FindAndReturn​(java.lang.String string)
    • FindAll

      public java.util.ArrayList FindAll​(java.lang.String string)
    • FindAndReturnStack

      public InventoryItem FindAndReturnStack​(java.lang.String string)
    • FindAndReturnStack

      public InventoryItem FindAndReturnStack​(InventoryItem inventoryItem)
    • HasType

      public boolean HasType​(ItemType itemType)
    • Remove

      public void Remove​(InventoryItem inventoryItem)
    • DoRemoveItem

      public void DoRemoveItem​(InventoryItem inventoryItem)
    • Remove

      public void Remove​(java.lang.String string)
    • Remove

      public InventoryItem Remove​(ItemType itemType)
    • Find

      public InventoryItem Find​(ItemType itemType)
    • RemoveAll

      public void RemoveAll​(java.lang.String string)
    • RemoveOneOf

      public boolean RemoveOneOf​(java.lang.String string, boolean boolean1)
    • RemoveOneOf

      public void RemoveOneOf​(java.lang.String string)
    • getWeight

      public int getWeight()
    • getContentsWeight

      public float getContentsWeight()
    • getMaxWeight

      public float getMaxWeight()
    • getCapacityWeight

      public float getCapacityWeight()
    • isEmpty

      public boolean isEmpty()
    • isMicrowave

      public boolean isMicrowave()
    • isPowered

      public boolean isPowered()
    • getTemprature

      public float getTemprature()
    • isTemperatureChanging

      public boolean isTemperatureChanging()
    • save

      public java.util.ArrayList save​(java.nio.ByteBuffer byteBuffer, IsoGameCharacter gameCharacter) throws java.io.IOException
      Throws:
      java.io.IOException
    • save

      public java.util.ArrayList save​(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
      Throws:
      java.io.IOException
    • load

      public java.util.ArrayList load​(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException
      Throws:
      java.io.IOException
    • isDrawDirty

      public boolean isDrawDirty()
    • setDrawDirty

      public void setDrawDirty​(boolean boolean1)
    • getBestWeapon

      public InventoryItem getBestWeapon​(SurvivorDesc survivorDesc)
    • getBestWeapon

      public InventoryItem getBestWeapon()
    • getTotalFoodScore

      public float getTotalFoodScore​(SurvivorDesc survivorDesc)
    • getTotalWeaponScore

      public float getTotalWeaponScore​(SurvivorDesc survivorDesc)
    • getBestFood

      public InventoryItem getBestFood​(SurvivorDesc survivorDesc)
    • getBestBandage

      public InventoryItem getBestBandage​(SurvivorDesc survivorDesc)
    • getNumItems

      public int getNumItems​(java.lang.String string)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive​(boolean boolean1)
    • isDirty

      public boolean isDirty()
    • setDirty

      public void setDirty​(boolean boolean1)
    • isIsDevice

      public boolean isIsDevice()
    • setIsDevice

      public void setIsDevice​(boolean boolean1)
    • getAgeFactor

      public float getAgeFactor()
    • setAgeFactor

      public void setAgeFactor​(float float1)
    • getCookingFactor

      public float getCookingFactor()
    • setCookingFactor

      public void setCookingFactor​(float float1)
    • getItems

      public java.util.ArrayList getItems()
    • setItems

      public void setItems​(java.util.ArrayList arrayList)
    • getParent

      public IsoObject getParent()
    • setParent

      public void setParent​(IsoObject object)
    • getSourceGrid

      public IsoGridSquare getSourceGrid()
    • setSourceGrid

      public void setSourceGrid​(IsoGridSquare square)
    • getType

      public java.lang.String getType()
    • setType

      public void setType​(java.lang.String string)
    • clear

      public void clear()
    • getWaterContainerCount

      public int getWaterContainerCount()
    • FindWaterSource

      public InventoryItem FindWaterSource()
    • getAllWaterFillables

      public java.util.ArrayList getAllWaterFillables()
    • getItemCount

      public int getItemCount​(java.lang.String string)
    • getItemCountRecurse

      public int getItemCountRecurse​(java.lang.String string)
    • getItemCount

      public int getItemCount​(java.lang.String string, boolean boolean1)
    • getUsesRecurse

      public int getUsesRecurse​(java.util.function.Predicate predicate)
    • getUsesType

      public int getUsesType​(java.lang.String string)
    • getUsesTypeRecurse

      public int getUsesTypeRecurse​(java.lang.String string)
    • getWeightReduction

      public int getWeightReduction()
    • setWeightReduction

      public void setWeightReduction​(int int1)
    • removeAllItems

      public void removeAllItems()
    • containsRecursive

      public boolean containsRecursive​(InventoryItem inventoryItem)
    • getItemCountFromTypeRecurse

      public int getItemCountFromTypeRecurse​(java.lang.String string)
    • getCustomTemperature

      public float getCustomTemperature()
    • setCustomTemperature

      public void setCustomTemperature​(float float1)
    • getItemFromType

      public InventoryItem getItemFromType​(java.lang.String string, IsoGameCharacter gameCharacter, boolean boolean1, boolean boolean2, boolean boolean3)
    • getItemFromType

      public InventoryItem getItemFromType​(java.lang.String string, boolean boolean1, boolean boolean2)
    • getItemFromType

      public InventoryItem getItemFromType​(java.lang.String string)
    • getItemsFromType

      public java.util.ArrayList getItemsFromType​(java.lang.String string)
    • getItemsFromFullType

      public java.util.ArrayList getItemsFromFullType​(java.lang.String string)
    • getItemsFromFullType

      public java.util.ArrayList getItemsFromFullType​(java.lang.String string, boolean boolean1)
    • getItemsFromType

      public java.util.ArrayList getItemsFromType​(java.lang.String string, boolean boolean1)
    • getItemsFromCategory

      public java.util.ArrayList getItemsFromCategory​(java.lang.String string)
    • sendContentsToRemoteContainer

      public void sendContentsToRemoteContainer()
    • requestSync

      public void requestSync()
    • requestServerItemsForContainer

      public void requestServerItemsForContainer()
    • sendContentsToRemoteContainer

      @Deprecated public void sendContentsToRemoteContainer​(UdpConnection udpConnection)
      Deprecated.
    • getItemWithIDRecursiv

      public InventoryItem getItemWithIDRecursiv​(int int1)
    • getItemWithID

      public InventoryItem getItemWithID​(int int1)
    • removeItemWithID

      public boolean removeItemWithID​(int int1)
    • containsID

      public boolean containsID​(int int1)
    • removeItemWithIDRecurse

      public boolean removeItemWithIDRecurse​(int int1)
    • isHasBeenLooted

      public boolean isHasBeenLooted()
    • setHasBeenLooted

      public void setHasBeenLooted​(boolean boolean1)
    • getOpenSound

      public java.lang.String getOpenSound()
    • setOpenSound

      public void setOpenSound​(java.lang.String string)
    • getCloseSound

      public java.lang.String getCloseSound()
    • setCloseSound

      public void setCloseSound​(java.lang.String string)
    • getPutSound

      public java.lang.String getPutSound()
    • setPutSound

      public void setPutSound​(java.lang.String string)
    • haveThisKeyId

      public InventoryItem haveThisKeyId​(int int1)
    • getOnlyAcceptCategory

      public java.lang.String getOnlyAcceptCategory()
    • setOnlyAcceptCategory

      public void setOnlyAcceptCategory​(java.lang.String string)
    • getAcceptItemFunction

      public java.lang.String getAcceptItemFunction()
    • setAcceptItemFunction

      public void setAcceptItemFunction​(java.lang.String string)
    • getCharacter

      public IsoGameCharacter getCharacter()
    • emptyIt

      public void emptyIt()
    • getItems4Admin

      public java.util.LinkedHashMap getItems4Admin()
    • getAllItems

      public java.util.LinkedHashMap getAllItems​(java.util.LinkedHashMap linkedHashMap, boolean boolean1)
    • getItemById

      public InventoryItem getItemById​(long long1)
    • addItemsToProcessItems

      public void addItemsToProcessItems()
    • removeItemsFromProcessItems

      public void removeItemsFromProcessItems()
    • isExistYet

      public boolean isExistYet()
    • getContainerPosition

      public java.lang.String getContainerPosition()
    • setContainerPosition

      public void setContainerPosition​(java.lang.String string)
    • getFreezerPosition

      public java.lang.String getFreezerPosition()
    • setFreezerPosition

      public void setFreezerPosition​(java.lang.String string)
    • getVehiclePart

      public VehiclePart getVehiclePart()