summaryrefslogtreecommitdiff
path: root/src/SMAPI/IMod.cs
diff options
context:
space:
mode:
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
+}