Move daemon operation facade into runtime client
This commit is contained in:
parent
54aea11b5b
commit
c22d104812
6 changed files with 154 additions and 20 deletions
|
|
@ -19,7 +19,7 @@ public sealed class AetheriaDaemonObserver : MonoBehaviour
|
|||
private readonly AetheriaRuntimeDaemonObservationCursor _cursor = new AetheriaRuntimeDaemonObservationCursor();
|
||||
private float _nextPollTime;
|
||||
private AetheriaRuntimeDaemonOperationClient _operationClient;
|
||||
private AetheriaDaemonOperations _operations;
|
||||
private AetheriaRuntimeDaemonOperationsClient _operations;
|
||||
private AetheriaDaemonSoaMemoryMap _soaMemoryMap;
|
||||
private AetheriaDaemonRenderNativeView _renderNativeView;
|
||||
|
||||
|
|
@ -34,7 +34,8 @@ public sealed class AetheriaDaemonObserver : MonoBehaviour
|
|||
public AetheriaDaemonSoaMemoryMap LastSoaMemoryMap => _soaMemoryMap;
|
||||
public AetheriaDaemonRenderNativeView LastRenderNativeView => _renderNativeView;
|
||||
public bool HasRenderNativeView => _renderNativeView.IsCreated;
|
||||
public AetheriaDaemonOperations Operations => _operations ??= new AetheriaDaemonOperations(this);
|
||||
public AetheriaRuntimeDaemonOperationsClient Operations =>
|
||||
_operations ??= new AetheriaRuntimeDaemonOperationsClient(SendOperation);
|
||||
|
||||
public event Action<AetheriaRuntimeObservedDaemonState, AetheriaRuntimeDaemonObservationResult> ObservedDaemonStateChanged;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue