Method ClientSimChangeDetected
ClientSimChangeDetected(Dictionary<PolySpatialInstanceID, GameObjectNode>, Dictionary<PolySpatialInstanceID, GameObjectNode>)
Compares 2 clientSim state collections to determine if a change is present between the states. Though similar to clientSim to hostPlatform state comparison, this alternative method is needed as there are no expected component conversions between clientSim-clientSim state comparisons, whereas clientSim-hostPlatform state comparison expects conversions among other known diffs.
Declaration
public bool ClientSimChangeDetected(Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> previousClientSimState, Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> currentClientSimState)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> | previousClientSimState | A previously generated clientSim state dictionary |
Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> | currentClientSimState | The current clientSim state dictionary |
Returns
Type | Description |
---|---|
bool | true if a change is detected between the 2 state dictionaries, false otherwise |