diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-09 12:25:53 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-09 12:25:53 -0500 |
commit | cd0e5961d454e5861e2fd760388eb6920a1e2257 (patch) | |
tree | ce7a206ba9992dfa07f78db46828e0f17f32f96d /src/StardewModdingAPI/Mod.cs | |
parent | 25d2eb477729e929f3534b6f828c3fd96632e107 (diff) | |
download | SMAPI-cd0e5961d454e5861e2fd760388eb6920a1e2257.tar.gz SMAPI-cd0e5961d454e5861e2fd760388eb6920a1e2257.tar.bz2 SMAPI-cd0e5961d454e5861e2fd760388eb6920a1e2257.zip |
add reflection API for mods (#185)
Diffstat (limited to 'src/StardewModdingAPI/Mod.cs')
-rw-r--r-- | src/StardewModdingAPI/Mod.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/Mod.cs b/src/StardewModdingAPI/Mod.cs index 05122df5..21551771 100644 --- a/src/StardewModdingAPI/Mod.cs +++ b/src/StardewModdingAPI/Mod.cs @@ -13,10 +13,11 @@ namespace StardewModdingAPI /// <summary>The backing field for <see cref="Mod.PathOnDisk"/>.</summary> private string _pathOnDisk; + /********* ** Accessors *********/ - /// <summary>Provides methods for interacting with the mod directory, such as read/writing a config file or custom JSON files.</summary> + /// <summary>Provides simplified APIs for writing mods.</summary> public IModHelper Helper { get; internal set; } /// <summary>Writes messages to the console and log file.</summary> @@ -74,12 +75,12 @@ namespace StardewModdingAPI public virtual void Entry(params object[] objects) { } /// <summary>The mod entry point, called after the mod is first loaded.</summary> - /// <param name="helper">Provides methods for interacting with the mod directory, such as read/writing a config file or custom JSON files.</param> + /// <param name="helper">Provides simplified APIs for writing mods.</param> [Obsolete("This overload is obsolete since SMAPI 1.1.")] public virtual void Entry(ModHelper helper) { } /// <summary>The mod entry point, called after the mod is first loaded.</summary> - /// <param name="helper">Provides methods for interacting with the mod directory, such as read/writing a config file or custom JSON files.</param> + /// <param name="helper">Provides simplified APIs for writing mods.</param> public virtual void Entry(IModHelper helper) { } |