Trim Verse client document read wrappers

This commit is contained in:
Meta Vens 2026-06-28 04:02:41 +01:00
commit 190c692e9f
2 changed files with 13 additions and 94 deletions

View file

@ -9254,10 +9254,7 @@ static void RequireAetheriaRuntimeVerseClientContract(string root)
"typeof(AetheriaRuntimeVerseAuthorityPolicyDocument)",
"AetheriaRuntimeVerseRecordKeys.VerseAuthorityPolicy",
"Document<AetheriaRuntimeVerseAuthorityPolicyDocument>(",
"GetVerseAuthorityPolicyAsync()",
"typeof(EveSurfaceState)",
"GetDaemonGameTuiSurfaceAsync()",
"GetDaemonEditorTuiSurfaceAsync()",
"WatchDaemonGameTuiSurfaces()",
"WatchDaemonEditorTuiSurfaces()",
"CultMeshMutableStatePointer<EveSurfaceState>",
@ -9271,19 +9268,6 @@ static void RequireAetheriaRuntimeVerseClientContract(string root)
"state.Daemon.LatestSoaView.LatestAsync()",
"state.Daemon.Health.LatestAsync()",
"state.Daemon.CommandBoundary.LatestAsync()",
"Aetheria().Daemon.AuthorityPolicy.LatestAsync()",
"Aetheria().Daemon.ProviderAdvertisement.LatestAsync()",
"Aetheria().Daemon.Health.LatestAsync()",
"Aetheria().Daemon.CommandBoundary.LatestAsync()",
"Aetheria().Daemon.LatestFrame.LatestAsync()",
"Aetheria().Daemon.LatestSoaView.LatestAsync()",
"Aetheria().Daemon.GameSurface.LatestAsync()",
"Aetheria().Daemon.GameTuiSurface.LatestAsync()",
"Aetheria().Daemon.EditorSurface.LatestAsync()",
"Aetheria().Daemon.EditorTuiSurface.LatestAsync()",
"Aetheria().Starbridge.Scenario.LatestAsync()",
"Aetheria().Starbridge.Session.LatestAsync()",
"Aetheria().Starbridge.PlayerSeat(seatId).LatestAsync()",
"AetheriaRuntimeLoadoutTemplatesDocument",
"ReadRuntimeCatalogSnapshot()",
"ReadLoadoutTemplatesDocument()",
@ -9334,6 +9318,19 @@ static void RequireAetheriaRuntimeVerseClientContract(string root)
{
"return Task.FromResult(AetheriaRuntimeCatalogStore.ReadPlayerSettings(StatePath));",
"return Task.FromResult(AetheriaRuntimeCatalogStore.ReadVerseHostSettings(StatePath));",
"public async Task<AetheriaRuntimeDaemonProviderAdvertisementDocument?> GetProviderAdvertisementAsync()",
"public async Task<AetheriaRuntimeDaemonHealthDocument?> GetHealthAsync()",
"public async Task<AetheriaRuntimeDaemonCommandBoundaryDocument?> GetCommandBoundaryAsync()",
"public async Task<AetheriaRuntimeVerseAuthorityPolicyDocument?> GetVerseAuthorityPolicyAsync()",
"public async Task<AetheriaRuntimeDaemonFrameDocument?> GetLatestFrameAsync()",
"public async Task<AetheriaRuntimeDaemonSoaViewDocument?> GetLatestSoaViewAsync()",
"public async Task<AetheriaRuntimeStarbridgeScenarioDocument?> GetStarbridgeScenarioAsync()",
"public async Task<AetheriaRuntimeStarbridgeSessionDocument?> GetStarbridgeSessionAsync()",
"public async Task<AetheriaRuntimeStarbridgePlayerSeatDocument?> GetStarbridgePlayerSeatAsync(string seatId)",
"public async Task<EveSurfaceState?> GetDaemonGameSurfaceAsync()",
"public async Task<EveSurfaceState?> GetDaemonGameTuiSurfaceAsync()",
"public async Task<EveSurfaceState?> GetDaemonEditorSurfaceAsync()",
"public async Task<EveSurfaceState?> GetDaemonEditorTuiSurfaceAsync()",
"public AetheriaRuntimeCatalogSnapshot OpenRuntimeCatalog()",
"public async Task<AetheriaRuntimePlayerSettingsSnapshot?> GetPlayerSettingsAsync()",
"public async Task<AetheriaRuntimeVerseHostSettingsSnapshot?> GetVerseHostSettingsAsync()",

View file

@ -208,60 +208,6 @@ namespace GameCult.Aetheria.State.Verse
AetheriaRuntimeCatalogStore.OpenReadOnly);
}
public async Task<AetheriaRuntimeDaemonProviderAdvertisementDocument?> GetProviderAdvertisementAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.ProviderAdvertisement.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeDaemonHealthDocument?> GetHealthAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.Health.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeDaemonCommandBoundaryDocument?> GetCommandBoundaryAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.CommandBoundary.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeVerseAuthorityPolicyDocument?> GetVerseAuthorityPolicyAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.AuthorityPolicy.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeDaemonFrameDocument?> GetLatestFrameAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.LatestFrame.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeDaemonSoaViewDocument?> GetLatestSoaViewAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.LatestSoaView.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeStarbridgeScenarioDocument?> GetStarbridgeScenarioAsync()
{
ThrowIfDisposed();
return await Aetheria().Starbridge.Scenario.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeStarbridgeSessionDocument?> GetStarbridgeSessionAsync()
{
ThrowIfDisposed();
return await Aetheria().Starbridge.Session.LatestAsync().ConfigureAwait(false);
}
public async Task<AetheriaRuntimeStarbridgePlayerSeatDocument?> GetStarbridgePlayerSeatAsync(string seatId)
{
ThrowIfDisposed();
return await Aetheria().Starbridge.PlayerSeat(seatId).LatestAsync().ConfigureAwait(false);
}
public AetheriaClientState Aetheria()
{
ThrowIfDisposed();
@ -336,30 +282,6 @@ namespace GameCult.Aetheria.State.Verse
return frame;
}
public async Task<EveSurfaceState?> GetDaemonGameSurfaceAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.GameSurface.LatestAsync().ConfigureAwait(false);
}
public async Task<EveSurfaceState?> GetDaemonGameTuiSurfaceAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.GameTuiSurface.LatestAsync().ConfigureAwait(false);
}
public async Task<EveSurfaceState?> GetDaemonEditorSurfaceAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.EditorSurface.LatestAsync().ConfigureAwait(false);
}
public async Task<EveSurfaceState?> GetDaemonEditorTuiSurfaceAsync()
{
ThrowIfDisposed();
return await Aetheria().Daemon.EditorTuiSurface.LatestAsync().ConfigureAwait(false);
}
public CultMeshMutableStatePointer<AetheriaRuntimeDaemonProviderAdvertisementDocument> ProviderAdvertisement()
{
ThrowIfDisposed();