载入中...
搜索中...
未找到
eve::SnapshotEnvelope结构体 参考

Stable outer format shared by persistence and cross-process snapshots. 更多...

#include <Snapshot.h>

Public 属性

std::string type
 
LogicalId schema
 
SchemaVersion schemaVersion
 
PersistentId instanceId
 
Revision revision
 
SimulationTick tick
 
ContentId contentHash
 
Value payload
 

详细描述

Stable outer format shared by persistence and cross-process snapshots.

payload is owned by the envelope. schema identifies the payload contract, while schemaVersion identifies the version of that contract. Unknown payload fields remain the domain consumer's policy; unknown envelope fields are rejected by the strict parser.

在文件 Snapshot.h 第 46 行定义.

类成员变量说明

◆ contentHash

ContentId eve::SnapshotEnvelope::contentHash

在文件 Snapshot.h 第 53 行定义.

◆ instanceId

PersistentId eve::SnapshotEnvelope::instanceId

在文件 Snapshot.h 第 50 行定义.

被这些函数引用 eve::physics::World::restore() , 以及 eve::physics::World3D::restore().

◆ payload

Value eve::SnapshotEnvelope::payload

◆ revision

Revision eve::SnapshotEnvelope::revision

在文件 Snapshot.h 第 51 行定义.

◆ schema

LogicalId eve::SnapshotEnvelope::schema

在文件 Snapshot.h 第 48 行定义.

被这些函数引用 eve::rpg::RPGSaveSession::prepareRestoreSnapshotJson().

◆ schemaVersion

SchemaVersion eve::SnapshotEnvelope::schemaVersion

◆ tick

SimulationTick eve::SnapshotEnvelope::tick

在文件 Snapshot.h 第 52 行定义.

◆ type

std::string eve::SnapshotEnvelope::type

在文件 Snapshot.h 第 47 行定义.

被这些函数引用 eve::rpg::RPGSaveSession::prepareRestoreSnapshotJson().


该结构体的文档由以下文件生成: