Struct ServerTickEvent
Published on the event bus once per server tick. Modules subscribe via their IModuleContext.Events to run per-tick logic on the tick thread.
public readonly record struct ServerTickEvent : IEquatable<ServerTickEvent>
- Implements
- Inherited Members
Constructors
ServerTickEvent(float, long)
Published on the event bus once per server tick. Modules subscribe via their IModuleContext.Events to run per-tick logic on the tick thread.
public ServerTickEvent(float DeltaSeconds, long Tick)
Parameters
DeltaSecondsfloatMeasured time since the previous tick (variable; no catch-up).
TicklongMonotonic tick counter.
Properties
DeltaSeconds
Measured time since the previous tick (variable; no catch-up).
public float DeltaSeconds { get; init; }
Property Value
Tick
Monotonic tick counter.
public long Tick { get; init; }