Table of Contents

Class NavigationTokenLegend

Namespace
Trailblazer.Pathing
Assembly
Trailblazer.dll

Maps trimmed authoring tokens to complete navigation-cell payloads.

public sealed class NavigationTokenLegend
Inheritance
NavigationTokenLegend
Inherited Members

Constructors

NavigationTokenLegend()

public NavigationTokenLegend()

Methods

CreateBuiltIn(Fixed64, Fixed64)

Creates the built-in solid, volume, mixed-media, and climb token set.

public static NavigationTokenLegend CreateBuiltIn(Fixed64 radiusClearance = default, Fixed64 heightClearance = default)

Parameters

radiusClearance Fixed64
heightClearance Fixed64

Returns

NavigationTokenLegend

Register(string, NavigationTokenLegendEntry)

Registers one trimmed token. A duplicate token returns false without replacement.

public bool Register(string token, NavigationTokenLegendEntry entry)

Parameters

token string
entry NavigationTokenLegendEntry

Returns

bool

TryGetEntry(string, out NavigationTokenLegendEntry)

Attempts to resolve one token after ordinal whitespace trimming.

public bool TryGetEntry(string token, out NavigationTokenLegendEntry entry)

Parameters

token string
entry NavigationTokenLegendEntry

Returns

bool