Table of Contents

Enum PushDetection

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Who tells the push path that an entity changed (design/Subscriptions/research/push-model.md).

public enum PushDetection

Fields

Automatic = 1

EXPERIMENTAL, refused unless AllowAutomaticPushDetection is set: the engine projects and compares every live entity of the archetype every tick and pushes those whose wire bytes changed. Nothing to forget, at the cost of encoding the whole archetype each tick.

Explicit = 0

The application: a system calls Replicate<TArchetype>(in ClusterRef<TArchetype>, int) after a write. The engine adds its own pushes (spawn, destroy, WriteSpatial, migration, motion refits). An entity changed without either is not re-sent.