16 lines
569 B
C#
16 lines
569 B
C#
using System;
|
|
using System.Reflection;
|
|
using System.Linq;
|
|
|
|
class Program
|
|
{
|
|
static void Main()
|
|
{
|
|
var asmPath = "c:\\Users\\FERDINANDO\\Desktop\\JotunnModStub-master\\RacesOfValheim\\JotunnModStub\\bin\\Debug\\net48\\assembly_valheim.dll";
|
|
Assembly asm = Assembly.LoadFrom(asmPath);
|
|
Type seStats = asm.GetType("SE_Stats");
|
|
|
|
foreach(var f in seStats.GetFields(BindingFlags.Public | BindingFlags.Instance).Where(x => x.Name.ToLower().Contains("eitr")))
|
|
Console.WriteLine(f.FieldType.Name + " " + f.Name);
|
|
}
|
|
}
|