Package zombie.inventory
Class CompressIdenticalItems
java.lang.Object
zombie.inventory.CompressIdenticalItems
public class CompressIdenticalItems
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CompressIdenticalItems()
-
Method Summary
Modifier and Type Method Description static java.util.ArrayList
load(java.nio.ByteBuffer input, int WorldVersion, java.util.ArrayList Items, java.util.ArrayList IncludingObsoleteItems)
static java.util.ArrayList
save(java.nio.ByteBuffer output, java.util.ArrayList items, IsoGameCharacter noCompress)
static void
save(java.nio.ByteBuffer output, InventoryItem item)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CompressIdenticalItems
public CompressIdenticalItems()
-
-
Method Details
-
save
public static java.util.ArrayList save(java.nio.ByteBuffer output, java.util.ArrayList items, IsoGameCharacter noCompress) throws java.io.IOException- Throws:
java.io.IOException
-
load
public static java.util.ArrayList load(java.nio.ByteBuffer input, int WorldVersion, java.util.ArrayList Items, java.util.ArrayList IncludingObsoleteItems) throws java.io.IOException- Throws:
java.io.IOException
-
save
- Throws:
java.io.IOException
-