Table of Contents

Struct NavigationCellEntry

Namespace
Trailblazer.Pathing
Assembly
Trailblazer.dll

Associates one topology-local address with its immutable authored cell payload.

public readonly struct NavigationCellEntry : IEquatable<NavigationCellEntry>
Implements
Inherited Members

Constructors

NavigationCellEntry(VoxelIndex, NavigationCell)

Creates an authored cell entry.

public NavigationCellEntry(VoxelIndex index, NavigationCell cell)

Parameters

index VoxelIndex
cell NavigationCell

Properties

Cell

The complete authored cell payload.

public NavigationCell Cell { get; }

Property Value

NavigationCell

Index

The topology-local cell index.

public VoxelIndex Index { get; }

Property Value

VoxelIndex

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(NavigationCellEntry)

public bool Equals(NavigationCellEntry other)

Parameters

other NavigationCellEntry

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(NavigationCellEntry, NavigationCellEntry)

Tests two entries for value equality.

public static bool operator ==(NavigationCellEntry left, NavigationCellEntry right)

Parameters

left NavigationCellEntry
right NavigationCellEntry

Returns

bool

operator !=(NavigationCellEntry, NavigationCellEntry)

Tests two entries for value inequality.

public static bool operator !=(NavigationCellEntry left, NavigationCellEntry right)

Parameters

left NavigationCellEntry
right NavigationCellEntry

Returns

bool