载入中...
搜索中...
未找到
GameSaveSession.h
浏览该文件的文档.
87 [[nodiscard]] Result<void> restoreJson(std::string_view json, const SnapshotHashProvider& hashProvider);
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
Move-only, checked operation results for the common layer.
Versioned, integrity-checked persistence envelopes.
Owning, renderer-independent dynamic values.
Seal and restore all registered domain owners as one game-save transaction.
Definition GameSaveSession.h:48
One authoritative domain participating in a game save. @lifetime The participant and its live domain ...
Definition GameSaveSession.h:32
virtual std::string_view saveKey() const noexcept=0
Stable unique participant key within the game-save schema.
virtual ~IGameSaveParticipant()=default
Owning prepared state whose publication cannot fail or invoke callbacks.
Definition GameSaveSession.h:19
virtual void commit() noexcept=0
Publish the prepared domain state exactly once on its owner thread.
virtual ~IPreparedGameRestore()=default
std::function< Result< ContentId >(std::string_view canonicalInput)> SnapshotHashProvider
Injected content-digest implementation used by snapshots.
Definition Snapshot.h:36
Definition Container.h:602