Package zombie.network
Class ChunkRevisions.ChunkRevisionFile
java.lang.Object
zombie.network.ChunkRevisions.ChunkRevisionFile
- Enclosing class:
- ChunkRevisions
public static class ChunkRevisions.ChunkRevisionFile
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChunkRevisionFile(int int1, int int2)
-
Method Summary
Modifier and Type Method Description boolean
addNewRevisions(int int1, java.nio.ByteBuffer byteBuffer)
boolean
addSquares(java.util.ArrayList arrayList)
boolean
exists()
boolean
loadChunkRevision(java.nio.ByteBuffer byteBuffer)
ChunkRevisions.ChunkTable
loadChunkTable(java.nio.ByteBuffer byteBuffer, long long1)
boolean
patchChunk(IsoChunk chunk)
boolean
removeFile()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
wx
public int wx -
wy
public int wy -
fileName
public java.lang.String fileName -
memoryFile
public zombie.network.ChunkRevisions.MemoryFile memoryFile -
randomID
public int randomID -
revision
public long revision
-
-
Constructor Details
-
ChunkRevisionFile
public ChunkRevisionFile(int int1, int int2)
-
-
Method Details
-
exists
public boolean exists() -
loadChunkRevision
public boolean loadChunkRevision(java.nio.ByteBuffer byteBuffer) -
loadChunkTable
-
addNewRevisions
public boolean addNewRevisions(int int1, java.nio.ByteBuffer byteBuffer) -
addSquares
public boolean addSquares(java.util.ArrayList arrayList) -
patchChunk
-
removeFile
public boolean removeFile()
-