minor tweaks
This commit is contained in:
parent
fa5c6ff066
commit
22fe2d8716
|
@ -16,7 +16,7 @@ For developers:
|
|||
* messages now show which mod logged them;
|
||||
* more consistent and intuitive console color scheme.
|
||||
* Added optional `MinimumApiVersion` to `manifest.json`.
|
||||
* Added emergency interrupt feature for mods which may corrupt saves.
|
||||
* Added emergency interrupt feature for dangerous mods.
|
||||
|
||||
## 1.0
|
||||
See [log](https://github.com/CLxS/SMAPI/compare/0.40.1.1-3...1.0).
|
||||
|
|
|
@ -69,16 +69,16 @@ namespace StardewModdingAPI
|
|||
/*********
|
||||
** Public methods
|
||||
*********/
|
||||
/// <summary>The entry point for your mod. It will always be called once when the mod loads.</summary>
|
||||
/// <summary>The mod entry point, called after the mod is first loaded.</summary>
|
||||
[Obsolete("This overload is obsolete since SMAPI 1.0.")]
|
||||
public virtual void Entry(params object[] objects) { }
|
||||
|
||||
/// <summary>The entry point for your mod. It will always be called once when the mod loads.</summary>
|
||||
/// <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>
|
||||
[Obsolete("This overload is obsolete since SMAPI 1.1.")]
|
||||
public virtual void Entry(ModHelper helper) { }
|
||||
|
||||
/// <summary>The entry point for your mod. It will always be called once when the mod loads.</summary>
|
||||
/// <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>
|
||||
public virtual void Entry(IModHelper helper) { }
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace TrainerMod
|
|||
/*********
|
||||
** Public methods
|
||||
*********/
|
||||
/// <summary>The entry point for your mod. It will always be called once when the mod loads.</summary>
|
||||
/// <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>
|
||||
public override void Entry(IModHelper helper)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue