-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
804 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Collections.Generic; | ||
using AET.ModVerify.Steps; | ||
using PG.StarWarsGame.Engine.Database; | ||
|
||
namespace AET.ModVerify; | ||
|
||
public interface IVerificationProvider | ||
{ | ||
IEnumerable<GameVerificationStep> GetAllDefaultVerifiers(IGameDatabase database, VerificationSettings settings); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Microsoft.Extensions.DependencyInjection; | ||
|
||
namespace AET.ModVerify; | ||
|
||
public static class ModVerifyServiceContribution | ||
{ | ||
public static void ContributeServices(IServiceCollection serviceCollection) | ||
{ | ||
serviceCollection.AddSingleton<IVerificationProvider>(sp => new VerificationProvider(sp)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using AET.ModVerify.Steps; | ||
using PG.StarWarsGame.Engine.Database; | ||
|
||
namespace AET.ModVerify; | ||
|
||
internal class VerificationProvider(IServiceProvider serviceProvider) : IVerificationProvider | ||
{ | ||
public IEnumerable<GameVerificationStep> GetAllDefaultVerifiers(IGameDatabase database, VerificationSettings settings) | ||
{ | ||
yield return new VerifyReferencedModelsStep(database, settings, serviceProvider); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ls/PG.StarWarsGame.Engine/GameDatabase.cs → ...rWarsGame.Engine/Database/GameDatabase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/PetroglyphTools/PG.StarWarsGame.Engine/Database/IGameDatabase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Collections.Generic; | ||
using PG.StarWarsGame.Engine.DataTypes; | ||
using PG.StarWarsGame.Engine.Repositories; | ||
|
||
namespace PG.StarWarsGame.Engine.Database; | ||
|
||
public interface IGameDatabase | ||
{ | ||
public IGameRepository GameRepository { get; } | ||
|
||
public GameConstants GameConstants { get; } | ||
|
||
public IList<GameObject> GameObjects { get; } | ||
} |
6 changes: 0 additions & 6 deletions
6
src/PetroglyphTools/PG.StarWarsGame.Engine/FileSystem/AudioRepository.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.