IUxrStateSync Interface
Interface for entities that are able to expose internal state changes described by a UxrStateSyncEventArgs raised through a StateChanged event. To support the synchronization, classes that implement this interface are also able to reproduce state changes using SyncState(UxrStateSyncEventArgs, Boolean). This interface should be implemented in entities relevant in network synchronization.
Namespace: UltimateXR.Core.StateSync
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public interface IUxrStateSync
The IUxrStateSync type exposes the following members.
Methods
Name | Description | |
---|---|---|
SyncState | Executes the state change described by [!:e]. |
Events
Name | Description | |
---|---|---|
StateChanged | Event raised when a relevant state of an object changed and requires storage/synchronization. |