Class DataChunk
java.lang.Object
zombie.iso.areas.isoregion.data.DataChunk
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getIsoChunkRegion
(int x, int y, int z) long
byte
getSquare
(int x, int y, int z) byte
getSquare
(int x, int y, int z, boolean ignoreCoordCheck) void
load
(ByteBuffer bb, int worldVersion, boolean readLength) void
save
(ByteBuffer bb) SAVE/LOADboolean
selectedHasFlags
(byte flags) void
void
setLastUpdateStamp
(long _lastUpdateStamp) void
setRegion
(int x, int y, int z, byte regionIndex) void
setSelectedFlags
(int x, int y, int z) byte
squareGetFlags
(int x, int y, int z)
-
Method Details
-
getChunkX
public int getChunkX() -
getChunkY
public int getChunkY() -
getLastUpdateStamp
public long getLastUpdateStamp() -
setLastUpdateStamp
public void setLastUpdateStamp(long _lastUpdateStamp) -
setDirtyAllActive
public void setDirtyAllActive() -
getSquare
public byte getSquare(int x, int y, int z) -
getSquare
public byte getSquare(int x, int y, int z, boolean ignoreCoordCheck) -
save
SAVE/LOAD -
load
-
setSelectedFlags
public void setSelectedFlags(int x, int y, int z) -
selectedHasFlags
public boolean selectedHasFlags(byte flags) -
squareGetFlags
public byte squareGetFlags(int x, int y, int z) -
getIsoChunkRegion
-
setRegion
public void setRegion(int x, int y, int z, byte regionIndex)
-