Table of Contents

Struct ViewDeltaMessage

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

Per-View changes for a single tick. Absent from Views if the View had no changes.

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

Remarks

MemoryPack GenerateType: Object

ushort ViewId
Typhon.Protocol.EntityDelta[] Added
long[] Removed
Typhon.Protocol.EntityUpdate[] Modified

Fields

Added

Entities that entered the View this tick (full component snapshots).

public EntityDelta[] Added

Field Value

EntityDelta[]

Modified

Entities that remained in the View but had component data change.

public EntityUpdate[] Modified

Field Value

EntityUpdate[]

Removed

Entity IDs that left the View this tick (client destroys local copy).

public long[] Removed

Field Value

long[]

ViewId

Published View identifier.

public ushort ViewId

Field Value

ushort