Package zombie.iso.areas.isoregion
Class IsoRegionWorker
java.lang.Object
zombie.iso.areas.isoregion.IsoRegionWorker
public class IsoRegionWorker
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected static int
CHUNKS_DATA_PACKET_SIZE
protected static java.util.concurrent.atomic.AtomicBoolean
isRequestingBufferSwap
protected static int
SINGLE_CHUNK_PACKET_SIZE
-
Constructor Summary
Constructors Modifier Constructor Description protected
IsoRegionWorker()
-
Method Summary
Modifier and Type Method Description protected void
addDebugResetJob()
protected void
addSquareChangedJob(int int1, int int2, int int3, boolean boolean1, byte byte1)
protected void
ApplyChunkChanges()
protected void
ApplyChunkChanges(boolean boolean1)
protected void
create()
protected static void
DequeueDirtyMasterRegion(MasterRegion masterRegion)
protected static void
EnqueueDirtyChunk(DataChunk dataChunk)
protected static void
EnqueueDirtyMasterRegion(MasterRegion masterRegion)
protected void
EnqueueJob(RegionJob regionJob)
protected java.io.File
getChunkFile(int int1, int int2)
protected java.io.File
getDirectory()
protected java.io.File
getHeaderFile()
protected DataRoot
getRootBuffer()
protected void
load()
protected void
readClientRequestFullUpdatePacket(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)
protected void
readServerUpdatePacket(java.nio.ByteBuffer byteBuffer)
protected void
readSurroundingChunks(int int1, int int2, int int3, boolean boolean1)
protected void
setRootBuffer(DataRoot dataRoot)
protected void
stop()
protected void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
ApplyChunkChanges
protected void ApplyChunkChanges() -
ApplyChunkChanges
protected void ApplyChunkChanges(boolean boolean1) -
EnqueueDirtyChunk
-
EnqueueDirtyMasterRegion
-
DequeueDirtyMasterRegion
-
getDirectory
protected java.io.File getDirectory() -
getChunkFile
protected java.io.File getChunkFile(int int1, int int2) -
getHeaderFile
protected java.io.File getHeaderFile() -
getRootBuffer
-
setRootBuffer
-
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)
-