Files
StarterNG/StarterNG/Application/Abstractions/ISceneryRepository.cs
maj00r df21ec104f Cut the comments from the refactored code
Three survive: why AppServices is hand-wired, the cp1250 registration trap, and
the IsDieselEngine note carried over from Physics.cs.
2026-09-04 22:24:54 +02:00

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);
}