41 lines
1 KiB
C#
41 lines
1 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using Harmony;
|
|
using System.Reflection;
|
|
|
|
namespace GamecraftModdingAPI.Tests
|
|
{
|
|
// unused by design
|
|
public class GamecraftModdingAPIPluginTest //: IllusionPlugin.IEnhancedPlugin
|
|
{
|
|
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()
|
|
{
|
|
GamecraftModdingAPI.Main.Shutdown();
|
|
}
|
|
|
|
public void OnApplicationStart()
|
|
{
|
|
GamecraftModdingAPI.Main.Init();
|
|
}
|
|
|
|
public void OnFixedUpdate() { }
|
|
|
|
public void OnLateUpdate() { }
|
|
|
|
public void OnLevelWasInitialized(int level) { }
|
|
|
|
public void OnLevelWasLoaded(int level) { }
|
|
|
|
public void OnUpdate() { }
|
|
}
|
|
}
|