Scripting API

Scripting API

Archetype

Record struct in Abyss.Core, from Abyss.Core.

A registered set of component types that entities can be created with, given, or stripped of.

public readonly record struct Archetype

Remarks

Registered once rather than named per command, so the component ids are validated at setup instead of mid-frame and both sides of the boundary can cache the layout arithmetic.

Constructors

Archetype

public Archetype(uint Value)

A registered set of component types that entities can be created with, given, or stripped of.

Parameters

  • Value: The native archetype id.

Registered once rather than named per command, so the component ids are validated at setup instead of mid-frame and both sides of the boundary can cache the layout arithmetic.

Properties

Value

public uint Value { get; init; }

The native archetype id.