refactor(app): compose interaction and retained UI startup

This commit is contained in:
Erik 2026-07-22 17:20:47 +02:00
parent f663b04a54
commit aa6ffa5176
15 changed files with 2157 additions and 467 deletions

View file

@ -9,3 +9,8 @@ internal interface ILiveWorldSessionSource
{
AcDream.Core.Net.WorldSession? CurrentSession { get; }
}
internal interface ILiveUiSessionTarget : ILiveInWorldSource, ILiveWorldSessionSource
{
AcDream.UI.Abstractions.ICommandBus Commands { get; }
}

View file

@ -162,7 +162,8 @@ internal sealed class LiveSessionController
: IDisposable,
ILiveSessionFramePhase,
ILiveInWorldSource,
ILiveWorldSessionSource
ILiveWorldSessionSource,
ILiveUiSessionTarget
{
private sealed class SessionScope(
WorldSession session,