载入中...
搜索中...
未找到
#include "common/Snapshot.h"#include <charconv>#include <cstdint>#include <limits>#include <set>#include <utility>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
函数 | |
| Result< std::string > | eve::snapshotHashInput (const SnapshotEnvelope &snapshot) |
| Produce the canonical JSON input used for a snapshot content hash. | |
| Result< void > | eve::verifySnapshotEnvelope (const SnapshotEnvelope &snapshot, const SnapshotHashProvider &hashProvider) |
| Verify an envelope's content hash without modifying it. | |
| Result< void > | eve::validateSnapshotPayloadMetadata (const Value &payload, Revision revision, SimulationTick tick) |
| Validate optional payload copies of envelope revision and tick. | |
| Result< SnapshotEnvelope > | eve::makeSnapshotEnvelope (std::string type, LogicalId schema, SchemaVersion schemaVersion, PersistentId instanceId, Revision revision, SimulationTick tick, Value payload, const SnapshotHashProvider &hashProvider) |
| Construct and seal a snapshot envelope. | |
| Result< Value > | eve::snapshotEnvelopeValue (const SnapshotEnvelope &snapshot) |
| Convert an envelope to its strict canonical value representation. | |
| Result< SnapshotEnvelope > | eve::parseSnapshotEnvelopeValue (const Value &value, const SnapshotHashProvider &hashProvider) |
| Parse and verify an envelope from an owning Value. | |
| Result< std::string > | eve::serializeSnapshotEnvelope (const SnapshotEnvelope &snapshot) |
| Serialize an envelope as deterministic compact JSON. | |
| Result< SnapshotEnvelope > | eve::parseSnapshotEnvelope (std::string_view json, const SnapshotHashProvider &hashProvider) |
| Parse and verify an envelope from canonical or compatible JSON text. | |