-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #423 from Aragas/dev
v5.9.0
- Loading branch information
Showing
30 changed files
with
623 additions
and
2,175 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
17 changes: 17 additions & 0 deletions
17
src/MCM.Abstractions/Containers/ISettingsContainerHasSettingsPack.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,17 @@ | ||
using MCM.Abstractions.Base; | ||
|
||
using System.Collections.Generic; | ||
|
||
namespace MCM.Abstractions | ||
{ | ||
#if !BANNERLORDMCM_PUBLIC | ||
internal | ||
#else | ||
public | ||
# endif | ||
interface ISettingsContainerHasSettingsPack | ||
{ | ||
IEnumerable<SettingSnapshot> SaveAvailableSnapshots(); | ||
IEnumerable<BaseSettings> LoadAvailableSnapshots(IEnumerable<SettingSnapshot> snapshots); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/MCM.Abstractions/Containers/ISettingsContainerHasUnavailable.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,17 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace MCM.Abstractions | ||
{ | ||
/// <summary> | ||
/// Interface that lists unavailable settings in the global menu | ||
/// </summary> | ||
#if !BANNERLORDMCM_PUBLIC | ||
internal | ||
#else | ||
public | ||
# endif | ||
interface ISettingsContainerHasUnavailable | ||
{ | ||
IEnumerable<UnavailableSetting> GetUnavailableSettings(); | ||
} | ||
} |
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
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,12 @@ | ||
namespace MCM.Abstractions | ||
{ | ||
#if !BANNERLORDMCM_INCLUDE_IN_CODE_COVERAGE | ||
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage, global::System.Diagnostics.DebuggerNonUserCode] | ||
#endif | ||
#if !BANNERLORDMCM_PUBLIC | ||
internal | ||
#else | ||
public | ||
# endif | ||
sealed record SettingSnapshot(string Path, string JsonContent); | ||
} |
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,12 @@ | ||
namespace MCM.Abstractions | ||
{ | ||
#if !BANNERLORDMCM_INCLUDE_IN_CODE_COVERAGE | ||
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage, global::System.Diagnostics.DebuggerNonUserCode] | ||
#endif | ||
#if !BANNERLORDMCM_PUBLIC | ||
internal | ||
#else | ||
public | ||
# endif | ||
sealed record UnavailableSetting(string Id, string DisplayName, UnavailableSettingType Type); | ||
} |
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,13 @@ | ||
namespace MCM.Abstractions | ||
{ | ||
#if !BANNERLORDMCM_PUBLIC | ||
internal | ||
#else | ||
public | ||
# endif | ||
enum UnavailableSettingType | ||
{ | ||
PerCampaign, | ||
PerSave | ||
} | ||
} |
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
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
Oops, something went wrong.