Class Key


public final class Key extends InventoryItem
  • Field Details

    • highlightDoor

      public static final Key[] highlightDoor
  • Constructor Details

  • Method Details

    • getSaveType

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

      public void takeKeyId()
    • setHighlightDoors

      public static void setHighlightDoors(int int1, InventoryItem inventoryItem)
    • getKeyId

      public int getKeyId()
      Overrides:
      getKeyId in class InventoryItem
    • setKeyId

      public void setKeyId(int int1)
      Overrides:
      setKeyId in class InventoryItem
    • getCategory

      public String getCategory()
      Overrides:
      getCategory in class InventoryItem
    • save

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

      public void load(ByteBuffer byteBuffer, int int1) throws IOException
      Overrides:
      load in class InventoryItem
      Throws:
      IOException
    • isPadlock

      public boolean isPadlock()
    • setPadlock

      public void setPadlock(boolean boolean1)
    • getNumberOfKey

      public int getNumberOfKey()
    • setNumberOfKey

      public void setNumberOfKey(int int1)
    • isDigitalPadlock

      public boolean isDigitalPadlock()
    • setDigitalPadlock

      public void setDigitalPadlock(boolean boolean1)