Files
SPT-Server-Build/Server/HarmonyBootstrapper.cs
T
2025-01-10 23:42:41 +00:00

25 lines
581 B
C#

using System.Reflection;
namespace Server;
public class HarmonyBootstrapper
{
public static void LoadAllPatches(List<Assembly> assemblies)
{
/* TODO: Benched idea until someone can figure out how to make Harmony work on net9.0 runtime if even possible?
var hamony = new Harmony("SPT");
foreach (var assembly in assemblies)
{
try
{
hamony.PatchAll(assembly);
}
catch (Exception e)
{
Console.WriteLine(e);
}
}
*/
}
}