Skip to content
Start free evaluation

PDComm.GemDirectoryState

Struct

Represents the current counters of an equipment's event directory.

public readonly record struct GemDirectoryState

Parameters

NameDescription
EventCountThe number of event entries.
MetadataBytesThe total length, in bytes, of all event names.
TotalVariablesThe number of variable IDs across all event entries.
Configuredtrue when a directory is configured, even an empty one; false when none is.

Members

GemDirectoryState

Constructor

Represents the current counters of an equipment's event directory.

public GemDirectoryState(nuint EventCount, nuint MetadataBytes, nuint TotalVariables, bool Configured)

Parameters

NameDescription
EventCountThe number of event entries.
MetadataBytesThe total length, in bytes, of all event names.
TotalVariablesThe number of variable IDs across all event entries.
Configuredtrue when a directory is configured, even an empty one; false when none is.

Configured

Property

true when a directory is configured, even an empty one; false when none is.

public bool Configured { get; init; }

EventCount

Property

The number of event entries.

public nuint EventCount { get; init; }

MetadataBytes

Property

The total length, in bytes, of all event names.

public nuint MetadataBytes { get; init; }

TotalVariables

Property

The number of variable IDs across all event entries.

public nuint TotalVariables { get; init; }