Skip to content

Commit

Permalink
- Fixed for surezies this time.
Browse files Browse the repository at this point in the history
  • Loading branch information
TBN-MapleWheels committed Oct 24, 2024
1 parent 3cd662c commit b6d955e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public partial class ModConfigInfo : IModConfigInfo

public ImmutableArray<CultureInfo> SupportedCultures { get; init; }
public ImmutableArray<IPackageDependencyInfo> Dependencies { get; init; }
public bool Optional { get; init; }
public ImmutableArray<IAssemblyResourceInfo> Assemblies { get; init; }
public ImmutableArray<ILocalizationResourceInfo> Localizations { get; init; }
public ImmutableArray<ILuaResourceInfo> LuaScripts { get; init; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ public interface IResourceInfo : IPlatformInfo
/// </summary>
[Required]
ImmutableArray<string> FilePaths { get; }

/// <summary>
/// Marks this resource as optional (ie. Cross-CP content). Setting this to true will allow the dependency system to
/// try and order the loading but not fail if it runs into circular dependency issues.
/// </summary>
bool Optional { get; }
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,4 @@ public interface IPackageDependenciesInfo
/// List of required packages.
/// </summary>
ImmutableArray<IPackageDependencyInfo> Dependencies { get; }
/// <summary>
/// Marks this dependency optional (ie. Cross-CP content). Setting this to true will allow the dependency system to
/// try and order the loading but not fail if it runs into circular dependency issues.
/// </summary>
bool Optional { get; }
}

0 comments on commit b6d955e

Please sign in to comment.