1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 02:53:29 +08:00

UXAssist: add profile based option

This commit is contained in:
2025-03-25 21:36:22 +08:00
parent 0f80dac134
commit adcce8e298
4 changed files with 39 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ namespace UXAssist.Functions;
public static class WindowFunctions
{
private static bool _initialized;
public static string ProfileName { get; private set; }
private const string GameWindowClass = "UnityWndClass";
@@ -34,6 +35,8 @@ public static class WindowFunctions
public static void Init()
{
if (_initialized) return;
_initialized = true;
I18N.Add("Cores: {0}\nThreads: {1}", "Cores: {0}\nThreads: {1}", "核心数: {0}\n线程数: {1}");
I18N.Add("\nP-Cores: {0}\nE-Cores: {1}", "\nP-Cores: {0}\nE-Cores: {1}", "\n性能核心: {0}\n能效核心: {1}");
I18N.Add("\nPriority: {0}", "\nProcess priority: {0}", "\n进程优先级: {0}");