It works. Except (HookMethod->Harmony: L189) is throwing NRE.

This commit is contained in:
MapleWheels
2026-02-02 20:45:09 -05:00
committed by Maplewheels
parent 2eb593f461
commit 06348d3ba5
7 changed files with 69 additions and 66 deletions
@@ -11,6 +11,16 @@ using Microsoft.CodeAnalysis.CSharp;
namespace Barotrauma.LuaCs;
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class IgnoresAccessChecksToAttribute : Attribute
{
public string AssemblyName { get; }
public IgnoresAccessChecksToAttribute(string assemblyName)
{
AssemblyName = assemblyName;
}
}
public interface IAssemblyLoaderService : IService
{
public interface IFactory : IService