Class CompressIdenticalItems
java.lang.Object
zombie.inventory.CompressIdenticalItems
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList
<InventoryItem> load
(ByteBuffer input, int WorldVersion, ArrayList<InventoryItem> Items, ArrayList<InventoryItem> IncludingObsoleteItems) static ArrayList
<InventoryItem> save
(ByteBuffer output, ArrayList<InventoryItem> items, IsoGameCharacter noCompress) static void
save
(ByteBuffer output, InventoryItem item)
-
Constructor Details
-
CompressIdenticalItems
public CompressIdenticalItems()
-
-
Method Details
-
save
public static ArrayList<InventoryItem> save(ByteBuffer output, ArrayList<InventoryItem> items, IsoGameCharacter noCompress) throws IOException - Throws:
IOException
-
load
public static ArrayList<InventoryItem> load(ByteBuffer input, int WorldVersion, ArrayList<InventoryItem> Items, ArrayList<InventoryItem> IncludingObsoleteItems) throws IOException - Throws:
IOException
-
save
- Throws:
IOException
-