refactor(runtime): acknowledge exact world host projections
This commit is contained in:
parent
73d0b54e38
commit
18d17d8bb1
17 changed files with 1677 additions and 72 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.Reflection;
|
||||
using AcDream.Runtime.Gameplay;
|
||||
using AcDream.Runtime.World;
|
||||
|
||||
namespace AcDream.Runtime.Tests;
|
||||
|
||||
|
|
@ -183,7 +184,20 @@ public sealed class GameRuntimeContractTests
|
|||
InteractionTransactions: default),
|
||||
default,
|
||||
default,
|
||||
default);
|
||||
new RuntimeWorldEnvironmentOwnershipSnapshot(
|
||||
IsInitialized: true,
|
||||
DayGroupDefinitionCount: 4,
|
||||
ActiveDayGroupCount: 1),
|
||||
default,
|
||||
new RuntimeWorldTransitOwnershipSnapshot(
|
||||
BufferedTeleportDestinationCount: 0,
|
||||
PendingTeleportStartCount: 0,
|
||||
ActiveTeleportCount: 1,
|
||||
AcceptedTeleportDestinationCount: 0,
|
||||
ActiveRevealCount: 1,
|
||||
PendingDestinationReadinessCount: 1,
|
||||
HostProjectionCount: 1,
|
||||
PendingHostAcknowledgementCount: 2));
|
||||
|
||||
recorder.AddCheckpoint(stamp, checkpoint);
|
||||
|
||||
|
|
@ -191,6 +205,8 @@ public sealed class GameRuntimeContractTests
|
|||
Assert.Contains("inventory-state=2:4:1:3", entry.Text);
|
||||
Assert.Contains("character=5:6:7:8:0:0", entry.Text);
|
||||
Assert.Contains("social=9:10:11", entry.Text);
|
||||
Assert.Contains("environment-owner=True:4:1", entry.Text);
|
||||
Assert.Contains("transit-owner=0:0:1:0:1:1:1:2", entry.Text);
|
||||
Assert.Contains(
|
||||
"actions=14:50000001:15:4:1:16:1:00000000:0:00000000:" +
|
||||
"00000000:00000000:00000000:0:0:0:0:00000000:00000000:" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue