fix(headless): complete connected movement gate
This commit is contained in:
parent
fd9559a063
commit
3f3401257c
11 changed files with 756 additions and 48 deletions
|
|
@ -145,6 +145,9 @@ public sealed class RuntimeLiveEntitySessionControllerTests
|
|||
Assert.Equal(1, projection.PrepareCount);
|
||||
Assert.True(projection.LastSpawnWasLocal);
|
||||
Assert.True(projection.LastPositionWasLocal);
|
||||
Assert.Equal(
|
||||
PositionTimestampDisposition.Apply,
|
||||
projection.LastPositionDisposition);
|
||||
Assert.Equal(playerGuid, projection.LastRecord?.ServerGuid);
|
||||
Assert.Equal(0x01020001u, projection.LastDestination.CellId);
|
||||
Assert.True(runtime.TransitOwner.CaptureOwnership().IsSessionIdle);
|
||||
|
|
@ -269,6 +272,11 @@ public sealed class RuntimeLiveEntitySessionControllerTests
|
|||
public int PrepareCount { get; private set; }
|
||||
public bool LastSpawnWasLocal { get; private set; }
|
||||
public bool LastPositionWasLocal { get; private set; }
|
||||
public PositionTimestampDisposition LastPositionDisposition
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
public RuntimeEntityRecord? LastRecord { get; private set; }
|
||||
public RuntimeTeleportDestination LastDestination { get; private set; }
|
||||
|
||||
|
|
@ -283,11 +291,13 @@ public sealed class RuntimeLiveEntitySessionControllerTests
|
|||
|
||||
public void ProjectPosition(
|
||||
RuntimeEntityRecord record,
|
||||
bool isLocalPlayer)
|
||||
bool isLocalPlayer,
|
||||
PositionTimestampDisposition disposition)
|
||||
{
|
||||
PositionCount++;
|
||||
LastRecord = record;
|
||||
LastPositionWasLocal = isLocalPlayer;
|
||||
LastPositionDisposition = disposition;
|
||||
}
|
||||
|
||||
public void BeginTeleport() => TeleportStartCount++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue