diff options
Diffstat (limited to 'src/SMAPI/Framework/IModMetadata.cs')
-rw-r--r-- | src/SMAPI/Framework/IModMetadata.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/IModMetadata.cs b/src/SMAPI/Framework/IModMetadata.cs index f5babafb..cb876ee4 100644 --- a/src/SMAPI/Framework/IModMetadata.cs +++ b/src/SMAPI/Framework/IModMetadata.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using StardewModdingAPI.Framework.ModHelpers; using StardewModdingAPI.Framework.ModLoading; @@ -64,6 +65,9 @@ namespace StardewModdingAPI.Framework /// <summary>The update-check metadata for this mod (if any).</summary> ModEntryModel UpdateCheckData { get; } + /// <summary>The fake content packs created by this mod, if any.</summary> + ISet<WeakReference<ContentPack>> FakeContentPacks { get; } + /********* ** Public methods @@ -135,5 +139,8 @@ namespace StardewModdingAPI.Framework /// <summary>Get a relative path which includes the root folder name.</summary> string GetRelativePathWithRoot(); + + /// <summary>Get the currently live fake content packs created by this mod.</summary> + IEnumerable<ContentPack> GetFakeContentPacks(); } } |