Table of Contents

Interface IReplicatedArchetype

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

An archetype replicated by attributes (design/Subscriptions/11 § 5). Implemented by the Typhon source generator on every [Replicated] archetype, never by hand: DeclareReplication(ArchetypeProjectionBuilder) is the builder calls its attributes compile to, and Archetype<TArchetype>() is what applies them.

public interface IReplicatedArchetype

Properties

ReplicatedStatic

Whether [Replicated(Static = true)] declared it static: sent once on enter, never updated.

public static abstract bool ReplicatedStatic { get; }

Property Value

bool

Methods

DeclareReplication(ArchetypeProjectionBuilder)

Declares the archetype's projection as its attributes say.

public static abstract void DeclareReplication(ArchetypeProjectionBuilder archetype)

Parameters

archetype ArchetypeProjectionBuilder

The builder.