Class ChunkRevisions.ChunkRevisionFile

java.lang.Object
zombie.network.ChunkRevisions.ChunkRevisionFile
Enclosing class:
ChunkRevisions

public static class ChunkRevisions.ChunkRevisionFile
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.String fileName  
    zombie.network.ChunkRevisions.MemoryFile memoryFile  
    int randomID  
    long revision  
    int wx  
    int wy  
  • 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

      public ChunkRevisions.ChunkTable loadChunkTable​(java.nio.ByteBuffer byteBuffer, long long1)
    • addNewRevisions

      public boolean addNewRevisions​(int int1, java.nio.ByteBuffer byteBuffer)
    • addSquares

      public boolean addSquares​(java.util.ArrayList arrayList)
    • patchChunk

      public boolean patchChunk​(IsoChunk chunk)
    • removeFile

      public boolean removeFile()