Struct PredictionTick
A tick value that can only be legitimately produced from a replicate input via GetPredictionTick(). Because the constructor is internal, callers outside this assembly cannot construct one from a raw uint (e.g. TimeManager.LocalTick) without an explicit, intentional conversion — the compiler enforces correct tick sourcing on every Apply() call in the prediction path.
public readonly struct PredictionTick
- Inherited Members
Properties
Value
The underlying tick value.
public uint Value { get; }
Property Value
Methods
ToString()
Returns the tick value as a string.
public override string ToString()
Returns
Operators
implicit operator uint(PredictionTick)
Implicitly converts a PredictionTick to its underlying uint value.
public static implicit operator uint(PredictionTick t)
Parameters
tPredictionTickThe tick to convert.