Skip to main content

NormalChunkLoader

A class in Root.Township, the global namespace.

Default IChunkLoader for a player, created by PlayerChunkManager. Loads the standard set of chunks around the player's current chunk.

Constructors​

MemberWhat it is
NormalChunkLoader(Player player)Creates a NormalChunkLoader from player.

Fields​

1 private and internal field
MemberWhat it is
private Player playerThe player this loader belongs to. Not used when picking chunks.

Methods​

1 private and internal method
MemberWhat it is
private void IChunkLoader.GetChunksToLoad(LocationChunk currentChunk, Vector3 position, HashSet<Chunk> dynamicList, HashSet<Chunk> staticList)Fills the dynamic and static chunk sets with the normal neighbours of the current chunk.