-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Refactored large parts of the code related to SkinMod (#63)
chore: An error window is now shown on crash/exceptions chore: Ability to disable all mods as a part of first time startup tweak: Improved key relevance in character search fix: JASM will no longer crash if you move 3Dmigoto folder without changing it in the settings
- Loading branch information
Showing
79 changed files
with
2,146 additions
and
1,250 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
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 |
---|---|---|
@@ -1,25 +1,14 @@ | ||
using GIMI_ModManager.Core.Entities; | ||
using GIMI_ModManager.Core.Entities.Mods.SkinMod; | ||
|
||
namespace GIMI_ModManager.Core.Contracts.Entities; | ||
|
||
public interface ISkinMod : IMod, IEqualityComparer<ISkinMod> | ||
{ | ||
public IReadOnlyCollection<string> ImagePaths { get; } // Support multiple images at some point ??? | ||
public SkinModSettings? CachedSkinModSettings { get; } | ||
public IReadOnlyCollection<SkinModKeySwap>? CachedKeySwaps { get; } | ||
Guid Id { get; } | ||
public bool HasMergedInI { get; } | ||
|
||
public void ClearCache(); | ||
public SkinModSettingsManager Settings { get; } | ||
public SkinModKeySwapManager? KeySwaps { get; } | ||
|
||
public Task<IReadOnlyCollection<SkinModKeySwap>> ReadKeySwapConfiguration(bool forceReload = false, | ||
CancellationToken cancellationToken = default); | ||
|
||
public Task SaveKeySwapConfiguration(ICollection<SkinModKeySwap> updatedKeySwaps, | ||
CancellationToken cancellationToken = default); | ||
|
||
|
||
public Task<SkinModSettings> ReadSkinModSettings(bool forceReload = false, CancellationToken cancellationToken = default); | ||
|
||
public Task SaveSkinModSettings(SkinModSettings skinModSettings, | ||
CancellationToken cancellationToken = default); | ||
public bool ContainsOnlyJasmFiles(); | ||
} |
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
Oops, something went wrong.