Table of Contents

Class CatalogArchetype

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

One replicated archetype: the entities of this type a session can see, and what it receives for them.

public sealed class CatalogArchetype
Inheritance
CatalogArchetype
Inherited Members

Constructors

CatalogArchetype()

public CatalogArchetype()

Properties

Fields

The public fields, in wire order once canonical: onEnter section, then each group's; packed fields first in a section (W11).

public CatalogField[] Fields { get; init; }

Property Value

CatalogField[]

Groups

The public change groups, at most eight; canonical order assigns bit i of a state record's mask to the i-th group (W14).

public string[] Groups { get; init; }

Property Value

string[]

Idx

The wire index for this archetype. Assigned by canonicalization from the ordinal sort of Name, never from declaration order — see Canonicalize(Catalog).

public int Idx { get; init; }

Property Value

int

Name

The declared wire name.

public string Name { get; init; }

Property Value

string

Owner

The owner-only section; absent when the archetype has none.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CatalogOwner Owner { get; init; }

Property Value

CatalogOwner

Position

Where and how the archetype's entities are positioned; absent when it is not spatial.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CatalogPosition Position { get; init; }

Property Value

CatalogPosition