diff options
author | James Finlay <jtfinlay@ualberta.ca> | 2016-03-05 10:08:33 -0800 |
---|---|---|
committer | James Finlay <jtfinlay@ualberta.ca> | 2016-03-05 10:08:33 -0800 |
commit | 64a0552aeadaf1b22b546c0675e4d070b8b30291 (patch) | |
tree | 560540750c27d56b8efd3188ea436fb3a5d2ebfa /StardewInjector/StardewInjector.cs | |
parent | 9420dfb0719d7f00c36607a210c50dc4537a9626 (diff) | |
parent | b417604466da840c1f0a4e38aeb0f63ce28d2cdf (diff) | |
download | SMAPI-64a0552aeadaf1b22b546c0675e4d070b8b30291.tar.gz SMAPI-64a0552aeadaf1b22b546c0675e4d070b8b30291.tar.bz2 SMAPI-64a0552aeadaf1b22b546c0675e4d070b8b30291.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'StardewInjector/StardewInjector.cs')
-rw-r--r-- | StardewInjector/StardewInjector.cs | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/StardewInjector/StardewInjector.cs b/StardewInjector/StardewInjector.cs deleted file mode 100644 index 055a79f9..00000000 --- a/StardewInjector/StardewInjector.cs +++ /dev/null @@ -1,55 +0,0 @@ -using StardewModdingAPI; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace StardewInjector -{ - public class StardewInjector : Mod - { - public override string Name - { - get { return "Stardew Injector"; } - } - - public override string Authour - { - get { return "Zoryn Aaron"; } - } - - public override string Version - { - get { return "1.0"; } - } - - public override string Description - { - get { return "Pulled from https://github.com/kevinmurphy678/Stardew_Injector and converted to a mod."; } - } - - public static Stardew_Hooker hooker { get; set; } - public override void Entry(params object[] objects) - { - if (objects.Length <= 0 || (objects.Length > 0 && objects[0].AsBool() == false)) - { - hooker = new Stardew_Hooker(); - hooker.Initialize(); - hooker.ApplyHooks(); - hooker.Finalize(); - - Program.LogInfo("INJECTOR ENTERED"); - } - else if (objects.Length > 0 && objects[0].AsBool() == true) - { - Program.LogInfo("INJECTOR LAUNCHING"); - hooker.Run(); - } - else - { - Program.LogError("INVALID PARAMETERS FOR INJECTOR"); - } - } - } -} |