Table of Contents

Class ArchetypeRecord

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Describes an archetype registered with the engine's ArchetypeRegistry. Stored in a table near the start of a .typhon-trace file so the viewer can map ArchetypeId numbers in typed events (EcsSpawn, ClusterMigration, etc.) back to human-readable names without the wire format having to carry strings for every event.

public sealed class ArchetypeRecord
Inheritance
ArchetypeRecord
Inherited Members

Constructors

ArchetypeRecord()

public ArchetypeRecord()

Properties

ArchetypeId

Archetype ID — matches ArchetypeMetadata.ArchetypeId in the engine.

public ushort ArchetypeId { get; init; }

Property Value

ushort

Name

Display name — typically the archetype class's Type.Name.

public string Name { get; init; }

Property Value

string