mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Wabbajack.DTOs;
|
|
using Wabbajack.Paths;
|
|
|
|
namespace Wabbajack.App.Blazor.State;
|
|
|
|
public interface IStateContainer
|
|
{
|
|
IEnumerable<ModlistMetadata> Modlists { get; }
|
|
Task<bool> LoadModlistMetadata();
|
|
|
|
IObservable<bool> NavigationAllowedObservable { get; }
|
|
bool NavigationAllowed { get; set; }
|
|
|
|
IObservable<AbsolutePath> ModlistPathObservable { get; }
|
|
AbsolutePath ModlistPath { get; set; }
|
|
|
|
IObservable<AbsolutePath> InstallPathObservable { get; }
|
|
AbsolutePath InstallPath { get; set; }
|
|
|
|
IObservable<AbsolutePath> DownloadPathObservable { get; }
|
|
AbsolutePath DownloadPath { get; set; }
|
|
|
|
IObservable<ModList?> ModlistObservable { get; }
|
|
ModList? Modlist { get; set; }
|
|
|
|
IObservable<string?> ModlistImageObservable { get; }
|
|
string? ModlistImage { get; set; }
|
|
|
|
IObservable<InstallState> InstallStateObservable { get; }
|
|
InstallState InstallState { get; set; }
|
|
|
|
IObservable<TaskBarState> TaskBarStateObservable { get; }
|
|
TaskBarState TaskBarState { get; set; }
|
|
}
|