summaryrefslogtreecommitdiff
path: root/src/SMAPI/Mod.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Mod.cs')
-rw-r--r--src/SMAPI/Mod.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Mod.cs b/src/SMAPI/Mod.cs
index ee75ba54..3a753afc 100644
--- a/src/SMAPI/Mod.cs
+++ b/src/SMAPI/Mod.cs
@@ -25,6 +25,9 @@ namespace StardewModdingAPI
/// <param name="helper">Provides simplified APIs for writing mods.</param>
public abstract void Entry(IModHelper helper);
+ /// <summary>Get an API that other mods can access. This is always called after <see cref="Entry"/>.</summary>
+ public virtual object GetApi() => null;
+
/// <summary>Release or reset unmanaged resources.</summary>
public void Dispose()
{