RegionGraphNode

public struct RegionGraphNode : Equatable

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.
  • id

    Map-unique node identifier.

    Note

    Not graph-unique.

    Declaration

    Swift

    public let id: RegionGraphNodeID
  • A localized name of the region this node represents.

    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 }