diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-16 00:31:31 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-16 00:31:31 -0500 |
commit | 6a4dc7e7d1dddb54264856102540d205bc6c3509 (patch) | |
tree | db53e648d6ce2f155e19d307bb60abbd14e8ca96 /src/SMAPI/Mod.cs | |
parent | 69c9ab0ecd184e4706a8e6394b38fa592cb808d0 (diff) | |
parent | 4c3ae950c6be0840e98d1328eeca9effca9c3807 (diff) | |
download | SMAPI-6a4dc7e7d1dddb54264856102540d205bc6c3509.tar.gz SMAPI-6a4dc7e7d1dddb54264856102540d205bc6c3509.tar.bz2 SMAPI-6a4dc7e7d1dddb54264856102540d205bc6c3509.zip |
Merge branch 'feature/mod-provided-apis' into develop
Diffstat (limited to 'src/SMAPI/Mod.cs')
-rw-r--r-- | src/SMAPI/Mod.cs | 3 |
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() { |