User Tools

Site Tools


isavegameservice

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

isavegameservice [2026/04/25 17:51] – created divinerisavegameservice [2026/08/16 15:17] (current) – diviner
Line 2: Line 2:
 ===== ISaveGameService ===== ===== ISaveGameService =====
  
-This service's primary responsibility is to save and load the current [[Game]] state. It serializes the game header and [[Chunk]] [[Entity]] data into a compressed save file, restores Chunks from saved [[EntityPacketCollection|EntityPacketCollections]], and falls back to default [[Chunk]] loading when saved [[Chunk]] data is not found. It also manages cached unsaved Chunk state so unloaded Chunks can still be included in the next save operation.+This service's primary responsibility is to save and load the current [[Game]] state. It serializes the game header and [[Chunk]] [[IEntity]] data into a compressed save file, restores Chunks from saved [[EntityPacketCollection|EntityPacketCollections]], and falls back to default [[Chunk]] loading when saved [[Chunk]] data is not found. It also manages cached unsaved Chunk state so unloaded Chunks can still be included in the next save operation.
  
 **Broadcasts Events:** [[SaveFileLoadRequestedAsyncTopic]], [[SaveFileLoadCompleteAsyncTopic]], [[SavedChunkLoadRequestedAsyncTopic]], [[SavedChunkLoadCompleteAsyncTopic]], [[SaveFileSerializationRequestedAsyncTopic]], [[SaveFileSerializationCompleteAsyncTopic]] **Broadcasts Events:** [[SaveFileLoadRequestedAsyncTopic]], [[SaveFileLoadCompleteAsyncTopic]], [[SavedChunkLoadRequestedAsyncTopic]], [[SavedChunkLoadCompleteAsyncTopic]], [[SaveFileSerializationRequestedAsyncTopic]], [[SaveFileSerializationCompleteAsyncTopic]]
isavegameservice.1777139488.txt.gz · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki