Table of Contents

Struct TickDeltaMessage

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

Top-level message pushed to each client once per tick. Contains subscription lifecycle events and per-View data deltas.

[MemoryPackable(GenerateType.Object)]
public struct TickDeltaMessage : IMemoryPackable<TickDeltaMessage>, IMemoryPackFormatterRegister
Implements
IMemoryPackable<TickDeltaMessage>
IMemoryPackFormatterRegister
Inherited Members

Remarks

Wire format: [4-byte payload length LE][MemoryPack-serialized TickDeltaMessage]. One message per tick per client. Empty ticks (no events, no View changes) are not sent.

Fields

Events

Subscription lifecycle events (Subscribed, Unsubscribed, SyncComplete, Resync). Null if none.

public SubscriptionEvent[] Events

Field Value

SubscriptionEvent[]

TickNumber

Monotonically increasing tick number.

public long TickNumber

Field Value

long

Views

Per-View data deltas. Only Views with changes are included. Null if no View changes.

public ViewDeltaMessage[] Views

Field Value

ViewDeltaMessage[]