refactor(app): compose interaction and retained UI startup
This commit is contained in:
parent
f663b04a54
commit
aa6ffa5176
15 changed files with 2157 additions and 467 deletions
|
|
@ -9,3 +9,8 @@ internal interface ILiveWorldSessionSource
|
|||
{
|
||||
AcDream.Core.Net.WorldSession? CurrentSession { get; }
|
||||
}
|
||||
|
||||
internal interface ILiveUiSessionTarget : ILiveInWorldSource, ILiveWorldSessionSource
|
||||
{
|
||||
AcDream.UI.Abstractions.ICommandBus Commands { get; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -162,7 +162,8 @@ internal sealed class LiveSessionController
|
|||
: IDisposable,
|
||||
ILiveSessionFramePhase,
|
||||
ILiveInWorldSource,
|
||||
ILiveWorldSessionSource
|
||||
ILiveWorldSessionSource,
|
||||
ILiveUiSessionTarget
|
||||
{
|
||||
private sealed class SessionScope(
|
||||
WorldSession session,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue