User Tools

Site Tools


savefileserializationrequestedasynctopic

This is an old revision of the document!


CREAT3D.ECS.DataModel.EventSystems.Topics.ChunkManagement

SaveFileSerializationRequestedAsyncTopic

Payload ValueMessage<string, Chunk[]>
Broadcaster ISceneLoadingService

This topic is broadcast from the ISaveGameService when a save file begins serializing the current game state into a save file. The architecture of the services makes it possible to only serialize the Chunks that are currently active in memory, without modifying other already serialized Chunks. The payload's value carries the path of the save file on disk and the array of Chunks that were serialized by this operation. This is an Async Topic whose callbacks can be long running Tasks. The service will await for all listeners to complete executing their callbacks before resuming the operation.

savefileserializationrequestedasynctopic.1777186340.txt.gz · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki