Table of Contents

Struct PredictionTick

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

uint

Methods

ToString()

Returns the tick value as a string.

public override string ToString()

Returns

string

Operators

implicit operator uint(PredictionTick)

Implicitly converts a PredictionTick to its underlying uint value.

public static implicit operator uint(PredictionTick t)

Parameters

t PredictionTick

The tick to convert.

Returns

uint