refactor(runtime): own teleport destination correlation
This commit is contained in:
parent
38b3773cb9
commit
6a063a27d4
23 changed files with 1209 additions and 487 deletions
|
|
@ -92,6 +92,23 @@ public enum RuntimePortalKind
|
|||
Portal,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Immutable, presentation-independent destination from one canonical
|
||||
/// accepted local-player Position packet. The frame remains cell-local;
|
||||
/// graphical hosts may translate it into their current render origin, while
|
||||
/// headless hosts consume the same full retail cell identity directly.
|
||||
/// </summary>
|
||||
public readonly record struct RuntimeTeleportDestination(
|
||||
uint EntityGuid,
|
||||
ushort InstanceSequence,
|
||||
ushort PositionSequence,
|
||||
ushort TeleportSequence,
|
||||
ushort ForcePositionSequence,
|
||||
Position Position)
|
||||
{
|
||||
public uint CellId => Position.ObjCellId;
|
||||
}
|
||||
|
||||
public readonly record struct RuntimeDestinationReadiness(
|
||||
long Generation,
|
||||
uint DestinationCell,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue