Class InventoryContainer

java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.InventoryContainer

public class InventoryContainer
extends InventoryItem
  • Constructor Details

    • InventoryContainer

      public InventoryContainer​(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
  • Method Details

    • getSaveType

      public int getSaveType()
      Overrides:
      getSaveType in class InventoryItem
    • getCategory

      public java.lang.String getCategory()
      Overrides:
      getCategory in class InventoryItem
    • getInventory

      public ItemContainer getInventory()
    • save

      public void save​(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException
      Overrides:
      save in class InventoryItem
      Throws:
      java.io.IOException
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException
      Overrides:
      load in class InventoryItem
      Throws:
      java.io.IOException
    • setCapacity

      public void setCapacity​(int int1)
    • getCapacity

      public int getCapacity()
    • getEffectiveCapacity

      public int getEffectiveCapacity​(IsoGameCharacter gameCharacter)
    • setWeightReduction

      public void setWeightReduction​(int int1)
    • getWeightReduction

      public int getWeightReduction()
    • DoTooltip

      public void DoTooltip​(ObjectTooltip objectTooltip)
      Overrides:
      DoTooltip in class InventoryItem
    • DoTooltip

      public void DoTooltip​(ObjectTooltip objectTooltip, ObjectTooltip.Layout layout)
      Overrides:
      DoTooltip in class InventoryItem
    • setCanBeEquipped

      public void setCanBeEquipped​(java.lang.String string)
    • canBeEquipped

      public java.lang.String canBeEquipped()
    • getItemContainer

      public ItemContainer getItemContainer()
    • getContentsWeight

      public float getContentsWeight()
      Overrides:
      getContentsWeight in class InventoryItem
    • getEquippedWeight

      public float getEquippedWeight()
      Overrides:
      getEquippedWeight in class InventoryItem