Class IsoRegionWorker

java.lang.Object
zombie.iso.areas.isoregion.IsoRegionWorker

public class IsoRegionWorker
extends java.lang.Object
  • Field Details

    • isRequestingBufferSwap

      protected static java.util.concurrent.atomic.AtomicBoolean isRequestingBufferSwap
    • SINGLE_CHUNK_PACKET_SIZE

      protected static final int SINGLE_CHUNK_PACKET_SIZE
      See Also:
      Constant Field Values
    • CHUNKS_DATA_PACKET_SIZE

      protected static final int CHUNKS_DATA_PACKET_SIZE
      See Also:
      Constant Field Values
  • Constructor Details

    • IsoRegionWorker

      protected IsoRegionWorker()
  • Method Details

    • create

      protected void create()
    • stop

      protected void stop()
    • EnqueueJob

      protected void EnqueueJob​(RegionJob regionJob)
    • ApplyChunkChanges

      protected void ApplyChunkChanges()
    • ApplyChunkChanges

      protected void ApplyChunkChanges​(boolean boolean1)
    • EnqueueDirtyChunk

      protected static void EnqueueDirtyChunk​(DataChunk dataChunk)
    • EnqueueDirtyMasterRegion

      protected static void EnqueueDirtyMasterRegion​(MasterRegion masterRegion)
    • DequeueDirtyMasterRegion

      protected static void DequeueDirtyMasterRegion​(MasterRegion masterRegion)
    • getDirectory

      protected java.io.File getDirectory()
    • getChunkFile

      protected java.io.File getChunkFile​(int int1, int int2)
    • getHeaderFile

      protected java.io.File getHeaderFile()
    • getRootBuffer

      protected DataRoot getRootBuffer()
    • setRootBuffer

      protected void setRootBuffer​(DataRoot dataRoot)
    • load

      protected void load()
    • update

      protected void update()
    • readServerUpdatePacket

      protected void readServerUpdatePacket​(java.nio.ByteBuffer byteBuffer)
    • readClientRequestFullUpdatePacket

      protected void readClientRequestFullUpdatePacket​(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)
    • addDebugResetJob

      protected void addDebugResetJob()
    • addSquareChangedJob

      protected void addSquareChangedJob​(int int1, int int2, int int3, boolean boolean1, byte byte1)
    • readSurroundingChunks

      protected void readSurroundingChunks​(int int1, int int2, int int3, boolean boolean1)