Table of Contents

Struct GridCoveredAddressGeneration

Namespace
GridForge.Grids.Topology
Assembly
GridForge.dll

Identifies one exact active grid generation eligible for a covered-address query.

public readonly struct GridCoveredAddressGeneration : IComparable<GridCoveredAddressGeneration>
Implements
Inherited Members

Constructors

GridCoveredAddressGeneration(GridConfigurationKey, ushort, long, ulong)

Initializes an exact eligible grid-generation identity.

public GridCoveredAddressGeneration(GridConfigurationKey configurationKey, ushort gridIndex, long gridSpawnToken, ulong gridLastChangeSequence)

Parameters

configurationKey GridConfigurationKey
gridIndex ushort
gridSpawnToken long
gridLastChangeSequence ulong

Properties

ConfigurationKey

The durable normalized grid identity.

public GridConfigurationKey ConfigurationKey { get; }

Property Value

GridConfigurationKey

GridIndex

The recyclable world-local grid slot.

public ushort GridIndex { get; }

Property Value

ushort

GridLastChangeSequence

The last committed sequence applied to this grid generation.

public ulong GridLastChangeSequence { get; }

Property Value

ulong

GridSpawnToken

The exact process-unique grid allocation identity.

public long GridSpawnToken { get; }

Property Value

long

Methods

CompareTo(GridCoveredAddressGeneration)

Compares durable configuration identity only. Eligible inputs must be strictly ascending by this order.

public int CompareTo(GridCoveredAddressGeneration other)

Parameters

other GridCoveredAddressGeneration

Returns

int