mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-10-17 07:59:19 +02:00
Three survive: why AppServices is hand-wired, the cp1250 registration trap, and the IsDieselEngine note carried over from Physics.cs.
15 lines
380 B
C#
15 lines
380 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using StarterNG.Domain.Sceneries;
|
|
|
|
namespace StarterNG.Application.Abstractions;
|
|
|
|
public readonly record struct SceneryLoadProgress(int Loaded, int Total, string FileName);
|
|
|
|
public interface ISceneryRepository
|
|
{
|
|
IReadOnlyList<Scenery> LoadAll(IProgress<SceneryLoadProgress>? progress = null);
|
|
|
|
Scenery? Load(string path);
|
|
}
|