Package zombie.network
Class ChunkChecksum
java.lang.Object
zombie.network.ChunkChecksum
public class ChunkChecksum
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ChunkChecksum()
-
Method Summary
Modifier and Type Method Description static long
createChecksum(java.lang.String filename)
static long
getChecksum(int wx, int wy)
static long
getChecksumIfExists(int wx, int wy)
static void
Reset()
static void
setChecksum(int wx, int wy, long crc)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ChunkChecksum
public ChunkChecksum()
-
-
Method Details
-
getChecksum
public static long getChecksum(int wx, int wy) throws java.io.IOException- Throws:
java.io.IOException
-
getChecksumIfExists
public static long getChecksumIfExists(int wx, int wy) throws java.io.IOException- Throws:
java.io.IOException
-
setChecksum
public static void setChecksum(int wx, int wy, long crc) -
createChecksum
public static long createChecksum(java.lang.String filename) throws java.io.IOException- Throws:
java.io.IOException
-
Reset
public static void Reset()
-