Structs

  • Sending a chunk to the user works the following way: A system like msg::terrain terrain or terrain_sync either decide to trigger chunk generation, or if the chunk already exists push a ChunkSendQueue to the eventbus. The chunk_serialize system will coordinate serializing via a SlowJob outside of the tick. On the next tick, the chunk_send system will pick up finished chunks.