Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:13:36 +09:30
commit e3c48b54dc
17 changed files with 1157 additions and 0 deletions

21
Harmony/Init.cs Normal file
View File

@@ -0,0 +1,21 @@
using FullautoLauncher.Scripts.ProjectileManager;
using System.Reflection;
public class FullautoLauncherInit : IModApi
{
private static bool inited = false;
public void InitMod(Mod _modInstance)
{
if(inited)
{
return;
}
inited = true;
Log.Out(" Loading Patch: " + GetType());
var harmony = new HarmonyLib.Harmony(GetType().ToString());
harmony.PatchAll(Assembly.GetExecutingAssembly());
ModEvents.UnityUpdate.RegisterHandler(CustomProjectileManager.Update);
}
}