Table of Contents

Struct NavigationAreaId

Namespace
Trailblazer.Pathing
Assembly
Trailblazer.dll

Identifies one host-defined navigation area independently of registration order.

public readonly struct NavigationAreaId : IEquatable<NavigationAreaId>, IComparable<NavigationAreaId>
Implements
Inherited Members

Constructors

NavigationAreaId(ushort)

Creates an explicitly assigned host-defined area identifier.

public NavigationAreaId(ushort value)

Parameters

value ushort

Properties

Value

Gets the stable numeric identifier. Zero denotes the default area.

public ushort Value { get; }

Property Value

ushort

Methods

CompareTo(NavigationAreaId)

public int CompareTo(NavigationAreaId other)

Parameters

other NavigationAreaId

Returns

int

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(NavigationAreaId)

public bool Equals(NavigationAreaId other)

Parameters

other NavigationAreaId

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(NavigationAreaId, NavigationAreaId)

Tests two identifiers for equality.

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

Parameters

left NavigationAreaId
right NavigationAreaId

Returns

bool

operator !=(NavigationAreaId, NavigationAreaId)

Tests two identifiers for inequality.

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

Parameters

left NavigationAreaId
right NavigationAreaId

Returns

bool