Initial commit
This commit is contained in:
commit
c4a24c9fdf
142 changed files with 15491 additions and 0 deletions
17
check_player2.cs
Normal file
17
check_player2.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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 playerType = asm.GetTypes().FirstOrDefault(t => t.Name == "Player");
|
||||
if (playerType == null) { Console.WriteLine("Player not found"); return; }
|
||||
|
||||
foreach(var m in playerType.GetMethods(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance).Where(x => x.Name.ToLower().Contains("eitr")))
|
||||
Console.WriteLine(m.Name + "(" + string.Join(", ", m.GetParameters().Select(p => p.ParameterType.Name + " " + p.Name)) + ")");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue