Module veloren_server::chunk_serialize
source · Structs§
- Sending a chunk to the user works the following way: A system like
msg::terrain
terrain
orterrain_sync
either decide to trigger chunk generation, or if the chunk already exists push aChunkSendQueue
to the eventbus. Thechunk_serialize
system will coordinate serializing via a SlowJob outside of the tick. On the next tick, thechunk_send
system will pick up finished chunks.