Add named entity and refit document access
This commit is contained in:
parent
7b261aaf47
commit
baac952fe3
9 changed files with 77 additions and 24 deletions
|
|
@ -205,11 +205,11 @@ public sealed class AetheriaUnityObservedDockingIndex : IDisposable
|
|||
return;
|
||||
|
||||
_currentEntity ??= AetheriaUnityRuntimeClientProvider
|
||||
.Reactive<AetheriaRuntimeCurrentEntityDocument>("unity-observed-docking");
|
||||
.ReactiveCurrentEntity("unity-observed-docking");
|
||||
_currentDocking ??= AetheriaUnityRuntimeClientProvider
|
||||
.ReactiveCurrentDocking("unity-observed-docking");
|
||||
_stationRefit ??= AetheriaUnityRuntimeClientProvider
|
||||
.Reactive<AetheriaRuntimeStationRefitDocument>("unity-observed-docking");
|
||||
.ReactiveStationRefit("unity-observed-docking");
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
|||
|
|
@ -124,6 +124,32 @@ public static class AetheriaUnityRuntimeClientProvider
|
|||
return RuntimeState(stateBoot, runtimeId).ReactiveCurrentDocking();
|
||||
}
|
||||
|
||||
public static CultMeshReactiveDocument<AetheriaRuntimeCurrentEntityDocument> ReactiveCurrentEntity(
|
||||
string runtimeId = "")
|
||||
{
|
||||
return RuntimeState(runtimeId).ReactiveCurrentEntity();
|
||||
}
|
||||
|
||||
public static CultMeshReactiveDocument<AetheriaRuntimeCurrentEntityDocument> ReactiveCurrentEntity(
|
||||
AetheriaRuntimeStateBootReport stateBoot,
|
||||
string runtimeId = "")
|
||||
{
|
||||
return RuntimeState(stateBoot, runtimeId).ReactiveCurrentEntity();
|
||||
}
|
||||
|
||||
public static CultMeshReactiveDocument<AetheriaRuntimeStationRefitDocument> ReactiveStationRefit(
|
||||
string runtimeId = "")
|
||||
{
|
||||
return RuntimeState(runtimeId).ReactiveStationRefit();
|
||||
}
|
||||
|
||||
public static CultMeshReactiveDocument<AetheriaRuntimeStationRefitDocument> ReactiveStationRefit(
|
||||
AetheriaRuntimeStateBootReport stateBoot,
|
||||
string runtimeId = "")
|
||||
{
|
||||
return RuntimeState(stateBoot, runtimeId).ReactiveStationRefit();
|
||||
}
|
||||
|
||||
public static CultMeshReactiveDocument<TDocument> Reactive<TDocument>(
|
||||
AetheriaRuntimeStateBootReport stateBoot,
|
||||
string runtimeId = "")
|
||||
|
|
|
|||
Loading…
Reference in a new issue