Vixen
02b45cc4
csharp
public readonly record struct NavObstacleHandle

Names an obstacle held by a NavTileCache.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A slot and a generation, so that a handle to a removed obstacle names nothing rather than naming whichever obstacle was added into its place — the same reason a NavPolyRef carries a salt.

Fields and properties (4)

  • public int Index
  • public int Generation
  • public static NavObstacleHandle Null

    The handle that names nothing.

  • public bool IsNull

    Whether this is Null.

Methods (1)

  • public NavObstacleHandle(int Index, int Generation)

    Names an obstacle held by a NavTileCache.

Used by (2)

  • NavTileCacheVixen.Navigation
  • NavTileCacheTestsVixen.Navigation.Tests