refactor(runtime): own world reveal generation
This commit is contained in:
parent
4ab98b080e
commit
a6860d5563
26 changed files with 1294 additions and 502 deletions
|
|
@ -5,6 +5,7 @@ using AcDream.App.Rendering.Residency;
|
|||
using AcDream.App.Rendering.Scene;
|
||||
using AcDream.App.Streaming;
|
||||
using AcDream.App.UI.Testing;
|
||||
using AcDream.Runtime;
|
||||
using SixLabors.ImageSharp;
|
||||
|
||||
namespace AcDream.App.Tests.Diagnostics;
|
||||
|
|
@ -95,10 +96,11 @@ public sealed class WorldLifecycleAutomationControllerTests
|
|||
public void Checkpoint_WritesCanonicalRevealAndResourceSnapshot()
|
||||
{
|
||||
string directory = NewDirectory();
|
||||
var reveal = new WorldRevealLifecycleSnapshot(
|
||||
var reveal = new RuntimePortalSnapshot(
|
||||
Generation: 7,
|
||||
Kind: WorldRevealKind.Portal,
|
||||
Readiness: new WorldRevealReadinessSnapshot(
|
||||
Kind: RuntimePortalKind.Portal,
|
||||
Readiness: new RuntimeDestinationReadiness(
|
||||
Generation: 7,
|
||||
0x8A020164u,
|
||||
IsIndoor: true,
|
||||
IsUnhydratable: false,
|
||||
|
|
@ -110,7 +112,10 @@ public sealed class WorldLifecycleAutomationControllerTests
|
|||
Completed: true,
|
||||
Cancelled: false,
|
||||
WorldViewportObserved: true,
|
||||
InvariantFailureCount: 0);
|
||||
WorldSimulationAvailable: true,
|
||||
InvariantFailureCount: 0,
|
||||
WaitCueShown: false,
|
||||
PortalMaterializationCount: 3);
|
||||
var resources = EmptyResources() with
|
||||
{
|
||||
LoadedLandblocks = 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue