Read main menu daemon frame through Verse client

This commit is contained in:
Meta Vens 2026-06-22 14:17:23 +01:00
commit c079a554f7
3 changed files with 78 additions and 23 deletions

View file

@ -265,6 +265,23 @@ namespace GameCult.Aetheria.State.Verse
AetheriaRuntimeDaemonSoaViewStore.GetViewPath(StatePath));
}
public async Task<AetheriaRuntimeDaemonFrameDocument?> GetLatestAuthoritativeRunFrameAsync()
{
ThrowIfDisposed();
var frame = await GetLatestFrameAsync().ConfigureAwait(false);
if (frame == null ||
!frame.IsAuthoritative ||
frame.Run == null ||
frame.Run.Zones == null ||
frame.Run.Zones.Count == 0)
{
return null;
}
return frame;
}
public Task<EveSurfaceState?> GetDaemonGameSurfaceAsync()
{
ThrowIfDisposed();