acdream/src/AcDream.App/Streaming/LandblockBuild.cs
Erik d9446030e6 feat(streaming): shadow-publish flat collision assets
Carry one immutable prepared collision closure with each accepted near-tier generation and install graph plus flat views through the same retained publication receipt. Apply the same strict package-only rule to live entities, add exact sampled graph-authoritative comparison artifacts and lifecycle counters, and prove cancellation, demotion, rehydrate, revisit, teardown, reconnect, and the nine-stop route with 14,064 zero-mismatch samples.

Co-authored-by: OpenAI Codex <codex@openai.com>
2026-07-25 16:38:54 +02:00

18 lines
595 B
C#

using AcDream.App.Rendering.Wb;
using AcDream.Core.World;
namespace AcDream.App.Streaming;
/// <summary>
/// Complete CPU-side output of one streaming job. The worker owns this object
/// until it posts the corresponding completion; the render thread then applies
/// the landblock and its cell transaction together.
/// </summary>
public sealed record LandblockBuild(
LoadedLandblock Landblock,
EnvCellLandblockBuild? EnvCells = null,
LandblockBuildOrigin Origin = default,
LandblockCollisionBuild? Collisions = null)
{
public uint LandblockId => Landblock.LandblockId;
}