Skip to main content

DebugLoadMarker.OptimisedChunkLoader

A private class in Root.Township, Alta.QATools. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Chunk loader for DebugLoadMarker on a simple server: loads by the streaming settings' load bounds and keeps loaded chunks inside the unload bounds.

Constructors​

MemberWhat it is
OptimisedChunkLoader(HashSet<Chunk> currentLoaded)Creates a DebugLoadMarker.OptimisedChunkLoader from currentLoaded.

Fields​

1 private and internal field
MemberWhat it is
private HashSet<Chunk> currentLoadedThe marker's set of currently loaded chunks, used to keep ones inside the unload bounds.

Methods​

1 private and internal method
MemberWhat it is
private void Alta.QATools.DebugLoadMarker.IChunkLoader.GetChunksToLoad(LocationChunk currentChunk, Vector3 position, HashSet<Chunk> dynamicList)In the overworld, adds location chunks inside the load bounds; elsewhere, the current chunk and its forced neighbours. Keeps loaded chunks still inside the unload bounds.