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
valueushort
Properties
Value
Gets the stable numeric identifier. Zero denotes the default area.
public ushort Value { get; }
Property Value
Methods
CompareTo(NavigationAreaId)
public int CompareTo(NavigationAreaId other)
Parameters
otherNavigationAreaId
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(NavigationAreaId)
public bool Equals(NavigationAreaId other)
Parameters
otherNavigationAreaId
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(NavigationAreaId, NavigationAreaId)
Tests two identifiers for equality.
public static bool operator ==(NavigationAreaId left, NavigationAreaId right)
Parameters
leftNavigationAreaIdrightNavigationAreaId
Returns
operator !=(NavigationAreaId, NavigationAreaId)
Tests two identifiers for inequality.
public static bool operator !=(NavigationAreaId left, NavigationAreaId right)
Parameters
leftNavigationAreaIdrightNavigationAreaId