PDComm.GemConstantState
Struct
Represents the counters of the equipment constant store.
public readonly record struct GemConstantStateParameters
| Name | Description |
|---|---|
ConstantCount | The number of registered constants. |
MetadataBytes | The total bytes of ASCII IDs, names and units in use. |
ValueBytes | The 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
| Name | Description |
|---|---|
ConstantCount | The number of registered constants. |
MetadataBytes | The total bytes of ASCII IDs, names and units in use. |
ValueBytes | The 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; }