15 lines
515 B
C#
15 lines
515 B
C#
using System;
|
|
using System.Reflection;
|
|
using System.Linq;
|
|
|
|
public class Program {
|
|
public static void Main() {
|
|
Assembly asm = Assembly.LoadFile(@"C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\plugins\Jotunn.dll");
|
|
Type customPrefabType = asm.GetType("Jotunn.Entities.CustomPrefab");
|
|
if (customPrefabType != null) {
|
|
foreach (var c in customPrefabType.GetConstructors()) {
|
|
Console.WriteLine("C: " + c.ToString());
|
|
}
|
|
}
|
|
}
|
|
}
|