Initial commit
This commit is contained in:
commit
c4a24c9fdf
142 changed files with 15491 additions and 0 deletions
19
test.cs
Normal file
19
test.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
class Test
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
var asm = Assembly.LoadFile(@"C:\Users\FERDINANDO\Desktop\JotunnModStub-master\RacesOfValheim\JotunnModStub\Lib\assembly_valheim_publicized.dll");
|
||||
var t = asm.GetType("Player");
|
||||
foreach(var f in t.GetNestedTypes(BindingFlags.Public | BindingFlags.NonPublic))
|
||||
{
|
||||
Console.WriteLine(f.Name);
|
||||
foreach(var field in f.GetFields())
|
||||
{
|
||||
Console.WriteLine(" " + field.Name + " : " + field.FieldType.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue