29 lines
893 B
C#
29 lines
893 B
C#
using System;
|
|
using System.Reflection;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main()
|
|
{
|
|
try
|
|
{
|
|
Assembly valheimAsm = Assembly.LoadFrom(@"c:\Users\FERDINANDO\Desktop\JotunnModStub-master\RacesOfValheim\libraries\assembly_valheim_publicized.dll");
|
|
if (valheimAsm == null)
|
|
{
|
|
valheimAsm = Assembly.LoadFrom(@"c:\Users\FERDINANDO\Desktop\JotunnModStub-master\RacesOfValheim\JotunnModStub\bin\Debug\net48\assembly_valheim_publicized.dll");
|
|
}
|
|
|
|
foreach (var type in valheimAsm.GetTypes())
|
|
{
|
|
if (type.Name.Contains("Localize") || type.Name.Contains("Localization"))
|
|
{
|
|
Console.WriteLine(type.FullName);
|
|
}
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Console.WriteLine(ex);
|
|
}
|
|
}
|
|
}
|