StructureData
public struct StructureData
Payload for RegionGraphChangeEvent.structureChanged event.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
StructureDataDeclaration
Swift
public init(graph: RegionGraph, nodeStates: [RegionGraphNodeID : RegionGraphNodeState])Parameters
graphGraph of regions representing the map structure
nodeStatesCollection of new region graph node states.
-
New map structure.
Declaration
Swift
public let graph: RegionGraph -
Collection of new region graph node states.
Declaration
Swift
public let nodeStates: [RegionGraphNodeID : RegionGraphNodeState]
StructureData Structure Reference