diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-17 16:34:31 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-17 18:54:57 -0500 |
commit | 4444b590f016ebecfc113a0dd4584723b0250f41 (patch) | |
tree | dea12bd0ad7d6c0328ffefcd47dc1c5166b4b8db /src/SMAPI/IModHelper.cs | |
parent | 0c1bca3db044b6f228538f1738d52c31e4481e48 (diff) | |
download | SMAPI-4444b590f016ebecfc113a0dd4584723b0250f41.tar.gz SMAPI-4444b590f016ebecfc113a0dd4584723b0250f41.tar.bz2 SMAPI-4444b590f016ebecfc113a0dd4584723b0250f41.zip |
add content pack feature (#436)
Diffstat (limited to 'src/SMAPI/IModHelper.cs')
-rw-r--r-- | src/SMAPI/IModHelper.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/SMAPI/IModHelper.cs b/src/SMAPI/IModHelper.cs index 116e8508..96265c85 100644 --- a/src/SMAPI/IModHelper.cs +++ b/src/SMAPI/IModHelper.cs @@ -1,4 +1,6 @@ -namespace StardewModdingAPI +using System.Collections.Generic; + +namespace StardewModdingAPI { /// <summary>Provides simplified APIs for writing mods.</summary> public interface IModHelper @@ -54,5 +56,11 @@ /// <param name="path">The file path relative to the mod directory.</param> /// <param name="model">The model to save.</param> void WriteJsonFile<TModel>(string path, TModel model) where TModel : class; + + /**** + ** Content packs + ****/ + /// <summary>Get all content packs loaded for this mod.</summary> + IEnumerable<IContentPack> GetContentPacks(); } -}
\ No newline at end of file +} |