summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-08 13:56:27 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-08 13:56:27 -0500
commit5f6bc8782999e41f5481322bcab44cbcf82d1a69 (patch)
tree5357349ba474fdcb560e4e5b91f23476206f258b
parentdc28000d326a375b9d78c0040b7f48d66af89e21 (diff)
downloadSMAPI-5f6bc8782999e41f5481322bcab44cbcf82d1a69.tar.gz
SMAPI-5f6bc8782999e41f5481322bcab44cbcf82d1a69.tar.bz2
SMAPI-5f6bc8782999e41f5481322bcab44cbcf82d1a69.zip
update TrainerMod for 1.0
-rw-r--r--src/TrainerMod/TrainerMod.cs4
-rw-r--r--src/TrainerMod/manifest.json9
2 files changed, 11 insertions, 2 deletions
diff --git a/src/TrainerMod/TrainerMod.cs b/src/TrainerMod/TrainerMod.cs
index c320b66f..3c40a941 100644
--- a/src/TrainerMod/TrainerMod.cs
+++ b/src/TrainerMod/TrainerMod.cs
@@ -18,7 +18,9 @@ namespace TrainerMod
public static int frozenTime;
public static bool infHealth, infStamina, infMoney, freezeTime;
- public override void Entry(params object[] objects)
+ /// <summary>The entry point for your mod. It will always be called once when the mod loads.</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(ModHelper helper)
{
RegisterCommands();
GameEvents.UpdateTick += Events_UpdateTick;
diff --git a/src/TrainerMod/manifest.json b/src/TrainerMod/manifest.json
index 6e3d1bbe..72a3f40a 100644
--- a/src/TrainerMod/manifest.json
+++ b/src/TrainerMod/manifest.json
@@ -1,6 +1,13 @@
{
"Name": "Trainer Mod",
"Author": "Zoryn",
+ "Version": {
+ "MajorVersion": 1,
+ "MinorVersion": 0,
+ "PatchVersion": 0,
+ "Build": ""
+ },
"Description": "Registers several commands to use. Most commands are trainer-like in that they offer forms of cheating.",
- "EntryDll": "TrainerMod.dll"
+ "UniqueID": "Zoryn.TrainerMod",
+ "EntryDll": "TrainerMod.dll"
} \ No newline at end of file