Class TeleportTrace
One ValheimCLI teleport trace, in milliseconds from arming the trace. A phase that did not occur is -1. The raw line is retained for audit; the numeric fields are suitable for comparisons and reports.
public sealed record TeleportTrace
- Inheritance
-
objectTeleportTrace
Constructors
TeleportTrace(int, bool, long, long, long, long, long, bool, float, float, float, string)
One ValheimCLI teleport trace, in milliseconds from arming the trace. A phase that did not occur is -1. The raw line is retained for audit; the numeric fields are suitable for comparisons and reports.
public TeleportTrace(int Id, bool Distant, long RequestedMs, long MovedMs, long AreaReadyMs, long FloorReadyMs, long DoneMs, bool FloorAtDone, float FinalX, float FinalY, float FinalZ, string Raw)
Parameters
IdintDistantboolRequestedMslongMovedMslongAreaReadyMslongFloorReadyMslongDoneMslongFloorAtDoneboolFinalXfloatFinalYfloatFinalZfloatRawstring
Properties
AreaReadyMs
public long AreaReadyMs { get; init; }
Property Value
- long
Distant
public bool Distant { get; init; }
Property Value
- bool
DoneMs
public long DoneMs { get; init; }
Property Value
- long
FinalX
public float FinalX { get; init; }
Property Value
- float
FinalY
public float FinalY { get; init; }
Property Value
- float
FinalZ
public float FinalZ { get; init; }
Property Value
- float
FloorAtDone
public bool FloorAtDone { get; init; }
Property Value
- bool
FloorReadyMs
public long FloorReadyMs { get; init; }
Property Value
- long
Id
public int Id { get; init; }
Property Value
- int
MovedMs
public long MovedMs { get; init; }
Property Value
- long
Raw
public string Raw { get; init; }
Property Value
- string
RequestedMs
public long RequestedMs { get; init; }
Property Value
- long
Methods
Parse(string, int)
Parse one complete trace from the one armed teleport, refusing missing, duplicate or contradictory fields.
public static TeleportTrace Parse(string line, int expectedId)
Parameters
linestringexpectedIdint