2025-06-14 22:33:03 +03:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Nebula.Launcher.ViewModels;
|
2025-06-22 10:40:42 +03:00
|
|
|
using Nebula.Launcher.ViewModels.Pages;
|
2025-06-14 22:33:03 +03:00
|
|
|
|
|
|
|
|
namespace Nebula.Launcher.ServerListProviders;
|
|
|
|
|
|
|
|
|
|
public interface IServerListProvider
|
|
|
|
|
{
|
|
|
|
|
public bool IsLoaded { get; }
|
|
|
|
|
public Action? OnLoaded { get; set; }
|
|
|
|
|
|
2025-06-22 10:40:42 +03:00
|
|
|
public IEnumerable<IListEntryModelView> GetServers();
|
2025-06-14 22:33:03 +03:00
|
|
|
public IEnumerable<Exception> GetErrors();
|
|
|
|
|
|
|
|
|
|
public void LoadServerList();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface IServerListDirtyInvoker
|
|
|
|
|
{
|
|
|
|
|
public Action? Dirty { get; set; }
|
|
|
|
|
}
|