mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-05 08:55:52 +08:00
14 lines
404 B
C#
14 lines
404 B
C#
using CRSim.Core.Models;
|
|
using CRSim.Core.Models.Plugin;
|
|
|
|
namespace CRSim.Core.Abstractions
|
|
{
|
|
public interface INetworkService
|
|
{
|
|
Task<List<TrainStop>?> GetTimeTableAsync(string number);
|
|
Task<List<TrainStop>?> GetTrainNumbersAsync(string name);
|
|
Task<List<PluginManifest>?> GetOnlinePluginsAsync(string uri);
|
|
Task<UpdateInfo?> GetUpdateAsync(string uri);
|
|
}
|
|
}
|