RegionGraphNode

public struct RegionGraphNode

A node in the ‘RegionGraph’. It represents a region in the NDS map. It may be updatable.

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • Map-unique node identifier.

    Note

    Not graph-unique.

    Declaration

    Swift

    public let nodeID: RegionGraphNodeID
  • Human readable name.

    Declaration

    Swift

    public let name: String
  • Child nodes. nil if the node represents an updatable region.

    Declaration

    Swift

    public let children: [RegionGraphNode]?
  • True if the region this node represents can be acted upon.

    Declaration

    Swift

    public var isUpdatableRegion: Bool { get }