summaryrefslogtreecommitdiff
path: root/src/SMAPI/IMod.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-12-12 00:09:28 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-12-12 00:09:28 -0500
commit7d644aeabee63c0d51d4e89360d2fdab0e51b8be (patch)
tree7fdce283e744c149f8dd90d05e907ea8247cdc94 /src/SMAPI/IMod.cs
parent2c909f26fcf48fc1de7f3b23f5f83d28d4a5e253 (diff)
downloadSMAPI-7d644aeabee63c0d51d4e89360d2fdab0e51b8be.tar.gz
SMAPI-7d644aeabee63c0d51d4e89360d2fdab0e51b8be.tar.bz2
SMAPI-7d644aeabee63c0d51d4e89360d2fdab0e51b8be.zip
switch to simpler approach for mod-provided APIs (#409)
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
+}