载入中...
搜索中...
未找到
PixelWorldStreaming.cpp
浏览该文件的文档.
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
Sparse, chunked, deterministic 2D falling-material world.
Definition PixelWorld.h:224
eve::Result< PixelChunkStreamUpdate > capture(const eve::pixelworld::PixelWorld &source, eve::pixelworld::PixelChunkRegion interest)
Capture changed/entered Chunks and eviction tombstones for an interest region.
Definition PixelWorldStreaming.cpp:21
void reset() noexcept
Forget consumer projection state so the next capture is a full resync.
Definition PixelWorldStreaming.cpp:77
detail::StrongUint64< detail::SimulationTickTag > SimulationTick
Deterministic simulation time step; it is not wall-clock time.
Definition Time.h:31
std::uint64_t sourceRevision
Definition PixelWorld.h:92
bool fullResync
Replace the replica projection instead of applying an incremental correction.
Definition PixelWorld.h:96
std::vector< PixelChunkSnapshot > chunks
Definition PixelWorld.h:97
std::uint64_t catalogFingerprint
Definition PixelWorld.h:90
eve::SimulationTick sourceTick
Definition PixelWorld.h:93
std::uint64_t sourceLastEditSequence
Definition PixelWorld.h:94
Inclusive finite rectangle expressed in Chunk coordinates.
Definition PixelWorld.h:104
Owning, immutable projection of one authoritative simulation chunk.
Definition PixelWorld.h:77
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