Level

Undocumented in source.

Constructors

this
this(string path)
Undocumented in source.

Members

Functions

readChunk
Chunk readChunk(Dimension dimension, Vector2!int position)
Chunk readChunk(Dimension dimension, int x, int z)
Chunk readChunk(Vector2!int position)
Chunk readChunk(int x, int z)

Reads the chunk at the given coordinates.

readChunkImpl
Chunk readChunkImpl(Dimension , Vector2!int )
Undocumented in source.
readChunks
ReadChunksResult readChunks(Dimension dimension)

Reads all chunks in the level.

readChunksImpl
ReadChunksResult readChunksImpl(Dimension )
Undocumented in source.
readLevelInfo
LevelInfo readLevelInfo()
Undocumented in source.
reloadLevelInfo
void reloadLevelInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLevelInfo
void writeLevelInfo(LevelInfo )
Undocumented in source.

Properties

levelInfo
LevelInfo levelInfo [@property getter]
levelInfo
LevelInfo levelInfo [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

chunks
Chunk[Vector2!int] chunks;
Undocumented in source.
path
string path;
Undocumented in source.

Meta