summaryrefslogtreecommitdiff
path: root/src/SMAPI/IMod.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-12-16 00:31:31 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-12-16 00:31:31 -0500
commit6a4dc7e7d1dddb54264856102540d205bc6c3509 (patch)
treedb53e648d6ce2f155e19d307bb60abbd14e8ca96 /src/SMAPI/IMod.cs
parent69c9ab0ecd184e4706a8e6394b38fa592cb808d0 (diff)
parent4c3ae950c6be0840e98d1328eeca9effca9c3807 (diff)
downloadSMAPI-6a4dc7e7d1dddb54264856102540d205bc6c3509.tar.gz
SMAPI-6a4dc7e7d1dddb54264856102540d205bc6c3509.tar.bz2
SMAPI-6a4dc7e7d1dddb54264856102540d205bc6c3509.zip
Merge branch 'feature/mod-provided-apis' into develop
Diffstat (limited to 'src/SMAPI/IMod.cs')
-rw-r--r--src/SMAPI/IMod.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SMAPI/IMod.cs b/src/SMAPI/IMod.cs
index 35ac7c0f..44ef32c9 100644
--- a/src/SMAPI/IMod.cs
+++ b/src/SMAPI/IMod.cs
@@ -1,4 +1,4 @@
-namespace StardewModdingAPI
+namespace StardewModdingAPI
{
/// <summary>The implementation for a Stardew Valley mod.</summary>
public interface IMod
@@ -22,5 +22,8 @@
/// <summary>The mod entry point, called after the mod is first loaded.</summary>
/// <param name="helper">Provides simplified APIs for writing mods.</param>
void Entry(IModHelper helper);
+
+ /// <summary>Get an API that other mods can access. This is always called after <see cref="Entry"/>.</summary>
+ object GetApi();
}
-} \ No newline at end of file
+}