summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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