载入中...
搜索中...
未找到
PixelWorldStreaming.h
浏览该文件的文档.
27 const eve::pixelworld::PixelChunkBatch& batch, eve::PersistentId instanceId, PixelChunkArchiveCodec codec,
36[[nodiscard]] EVENGINE_API_PLATFORM eve::Result<eve::pixelworld::PixelChunkBatch> decodeChunkBatchArchive(
Move-only, checked operation results for the common layer.
Versioned, integrity-checked persistence envelopes.
Sparse, chunked, deterministic 2D falling-material world.
Definition PixelWorld.h:224
Stateful revision cursor that projects one PixelWorld interest region.
Definition PixelWorldStreaming.h:55
std::uint64_t revision() const noexcept
Last successfully captured source revision, or zero before first capture.
Definition PixelWorldStreaming.h:71
std::size_t knownChunkCount() const noexcept
Number of present Chunk coordinates believed to be held by the consumer.
Definition PixelWorldStreaming.h:73
eve::Result< eve::SnapshotEnvelope > archiveChunkBatch(const eve::pixelworld::PixelChunkBatch &batch, eve::PersistentId instanceId, PixelChunkArchiveCodec codec, const eve::SnapshotHashProvider &hashProvider)
Encode one authoritative batch as pixelworld:chunk-batch SnapshotEnvelope version 3.
Definition PixelWorldArchive.cpp:150
PixelChunkArchiveCodec
Stable physical codec for one independently stored PixelWorld Chunk.
Definition PixelWorldStreaming.h:16
eve::Result< eve::pixelworld::PixelChunkBatch > decodeChunkBatchArchive(const eve::SnapshotEnvelope &snapshot, const eve::SnapshotHashProvider &hashProvider)
Verify and decode a version 1, 2 or 3 Chunk-batch archive into an owning candidate.
Definition PixelWorldArchive.cpp:206
std::function< Result< ContentId >(std::string_view canonicalInput)> SnapshotHashProvider
Injected content-digest implementation used by snapshots.
Definition Snapshot.h:36
Stable outer format shared by persistence and cross-process snapshots.
Definition Snapshot.h:46
Owning authoritative Chunk correction with source world metadata.
Definition PixelWorld.h:89
Inclusive finite rectangle expressed in Chunk coordinates.
Definition PixelWorld.h:104
Runtime identity of the world epoch from which a fragment was detached.
Definition PixelWorld.h:185
One interest-stream update suitable for persistence or network transport.
Definition PixelWorldStreaming.h:40
std::uint32_t chunksEvicted
Definition PixelWorldStreaming.h:45
eve::pixelworld::PixelChunkBatch batch
Definition PixelWorldStreaming.h:41
std::uint32_t chunksEntered
Definition PixelWorldStreaming.h:44