RacesOfValheim/test.ps1
2026-07-30 19:00:13 +02:00

3 lines
409 B
PowerShell

$asm = [System.Reflection.Assembly]::LoadFile('C:\Users\FERDINANDO\Desktop\JotunnModStub-master\RacesOfValheim\JotunnModStub\Lib\assembly_valheim_publicized.dll')
$type = $asm.GetType('Hud')
$type.GetFields([System.Reflection.BindingFlags]::Instance -bor [System.Reflection.BindingFlags]::NonPublic -bor [System.Reflection.BindingFlags]::Public) | Where-Object { $_.Name -like '*food*' } | Select-Object Name