User Tools

Site Tools


savefileserializationcompleteasynctopic

This is an old revision of the document!


CREAT3D.ECS.DataModel.EventSystems.Topics.GameManagement

SaveFileSerializationCompleteAsyncTopic

Payload ValueMessage<string, Chunk[]>
Broadcaster ISaveGameService

This topic is broadcast from the ISaveGameService when a save file completes 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.

savefileserializationcompleteasynctopic.1777186321.txt.gz · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki