Skip to content

Commit

Permalink
update conformance to AGame
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeWanderer committed Oct 16, 2024
1 parent bb4ad43 commit 42a0448
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
using Microsoft.Extensions.DependencyInjection;
using JetBrains.Annotations;
using NexusMods.Abstractions.Library.Installers;
using NexusMods.Abstractions.NexusWebApi.Types;
using NexusMods.Abstractions.NexusWebApi.Types.V2;

namespace NexusMods.Games.UnrealEngine.PacificDrive;

[UsedImplicitly]
public class PacificDriveGame : AGame, ISteamGame, IEpicGame
{
public static readonly GameDomain StaticDomain = GameDomain.From("pacificdrive");
private readonly IFileSystem _fileSystem;
public static GameDomain DomainStatic => GameDomain.From("pacificdrive");
private readonly IServiceProvider _serviceProvider;

public PacificDriveGame(IEnumerable<IGameLocator> gameLocators, IFileSystem fileSystem, IServiceProvider provider) : base(provider)
public PacificDriveGame(IEnumerable<IGameLocator> gameLocators, IServiceProvider provider) : base(provider)
{
_fileSystem = fileSystem;
_serviceProvider = provider;
}

public override string Name => "Pacific Drive";
public override GameDomain Domain => StaticDomain;
public override GameId GameId => GameId.From(6169);
public override GamePath GetPrimaryFile(GameStore store) => new(LocationId.Game, "PenDriverPro/Binaries/Win64/PenDriverPro-Win64-Shipping.exe");
protected override IReadOnlyDictionary<LocationId, AbsolutePath> GetLocations(IFileSystem fileSystem,
GameLocatorResult installation)
Expand Down

0 comments on commit 42a0448

Please sign in to comment.