Class ArchetypeProjection
Everything one archetype declared: its position, its public fields, its owner fields and the change groups they fall into.
public sealed class ArchetypeProjection
- Inheritance
-
ArchetypeProjection
- Inherited Members
Fields
DefaultGroup
The change group a field falls into when its declaration names none.
public const string DefaultGroup = "state"
Field Value
DefaultOwnerGroup
The change group an owner field falls into when its declaration names none.
public const string DefaultOwnerGroup = "owner"
Field Value
Properties
ArchetypeType
The archetype type this projection was declared for.
public Type ArchetypeType { get; }
Property Value
Fields
The public fields, in declaration order. Canonical wire order is computed when the plan is compiled.
public IReadOnlyList<ProjectedField> Fields { get; }
Property Value
Groups
The public change groups, in first-declared order.
public IReadOnlyList<string> Groups { get; }
Property Value
Index
The order this archetype was declared in. Not the wire index, which is canonical and assigned when the catalog is built.
public int Index { get; }
Property Value
IsStatic
Whether the archetype was declared static: sent once on enter, never updated.
public bool IsStatic { get; }
Property Value
Name
The archetype's name, which is the name it travels under.
public string Name { get; }
Property Value
OwnerFields
The owner fields, in declaration order.
public IReadOnlyList<ProjectedField> OwnerFields { get; }
Property Value
OwnerGroups
The owner change groups, in first-declared order.
public IReadOnlyList<string> OwnerGroups { get; }
Property Value
Position
How the position travels, or null when the archetype declared none.
public PositionProjection Position { get; }
Property Value
Methods
ToString()
public override string ToString()