TechbloxModdingAPI/GamecraftModdingAPI/Tests/GamecraftModdingAPIPluginTest.cs

42 lines
1 KiB
C#
Raw Normal View History

2019-12-13 05:00:11 +00:00
using System;
using UnityEngine;
using Harmony;
using System.Reflection;
2019-12-14 04:42:55 +00:00
namespace GamecraftModdingAPI.Tests
2019-12-13 05:00:11 +00:00
{
// unused by design
2019-12-14 04:42:55 +00:00
public class GamecraftModdingAPIPluginTest //: IllusionPlugin.IEnhancedPlugin
2019-12-13 05:00:11 +00:00
{
public static HarmonyInstance harmony { get; protected set; }
public string[] Filter { get; } = new string[] { "Gamecraft" };
public string Name { get; } = "Gamecraft Modding API";
public string Version { get; } = "v0.1.0.A";
public string HarmonyID { get; } = "org.git.exmods.modtainers.gamecraftmoddingapi";
public void OnApplicationQuit()
{
2019-12-14 04:42:55 +00:00
GamecraftModdingAPI.Main.Shutdown();
2019-12-13 05:00:11 +00:00
}
public void OnApplicationStart()
{
2019-12-14 04:42:55 +00:00
GamecraftModdingAPI.Main.Init();
2019-12-13 05:00:11 +00:00
}
public void OnFixedUpdate() { }
public void OnLateUpdate() { }
public void OnLevelWasInitialized(int level) { }
public void OnLevelWasLoaded(int level) { }
public void OnUpdate() { }
}
}