Skip to content
Start free evaluation

PDComm.GemConstantState

Struct

Represents the counters of the equipment constant store.

public readonly record struct GemConstantState

Parameters

NameDescription
ConstantCountThe number of registered constants.
MetadataBytesThe total bytes of ASCII IDs, names and units in use.
ValueBytesThe total encoded bytes of current, default, minimum and maximum values in use.

Members

GemConstantState

Constructor

Represents the counters of the equipment constant store.

public GemConstantState(nuint ConstantCount, nuint MetadataBytes, nuint ValueBytes)

Parameters

NameDescription
ConstantCountThe number of registered constants.
MetadataBytesThe total bytes of ASCII IDs, names and units in use.
ValueBytesThe total encoded bytes of current, default, minimum and maximum values in use.

ConstantCount

Property

The number of registered constants.

public nuint ConstantCount { get; init; }

MetadataBytes

Property

The total bytes of ASCII IDs, names and units in use.

public nuint MetadataBytes { get; init; }

ValueBytes

Property

The total encoded bytes of current, default, minimum and maximum values in use.

public nuint ValueBytes { get; init; }