A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0KB

  1. using System;
  2. using UnityEngine;
  3. using Harmony;
  4. using System.Reflection;
  5. namespace GamecraftModdingAPI.Tests
  6. {
  7. // unused by design
  8. public class GamecraftModdingAPIPluginTest //: IllusionPlugin.IEnhancedPlugin
  9. {
  10. public static HarmonyInstance harmony { get; protected set; }
  11. public string[] Filter { get; } = new string[] { "Gamecraft" };
  12. public string Name { get; } = "Gamecraft Modding API";
  13. public string Version { get; } = "v0.1.0.A";
  14. public string HarmonyID { get; } = "org.git.exmods.modtainers.gamecraftmoddingapi";
  15. public void OnApplicationQuit()
  16. {
  17. GamecraftModdingAPI.Main.Shutdown();
  18. }
  19. public void OnApplicationStart()
  20. {
  21. GamecraftModdingAPI.Main.Init();
  22. }
  23. public void OnFixedUpdate() { }
  24. public void OnLateUpdate() { }
  25. public void OnLevelWasInitialized(int level) { }
  26. public void OnLevelWasLoaded(int level) { }
  27. public void OnUpdate() { }
  28. }
  29. }