mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-07 00:15:53 +08:00
检测到游戏内小地图锁定配置 #1371
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using BetterGenshinImpact.GameTask.Common;
|
||||
using BetterGenshinImpact.Genshin.Settings;
|
||||
using Microsoft.Extensions.Logging;
|
||||
@@ -37,6 +37,11 @@ public class GameSettingsChecker
|
||||
TaskControl.Logger.LogError("检测到游戏亮度非默认值,将会影响功能正常使用,请在原神 游戏设置——图像——亮度 中恢复默认亮度!");
|
||||
}
|
||||
|
||||
if (settings.MiniMapConfig != 1)
|
||||
{
|
||||
TaskControl.Logger.LogWarning("检测到游戏小地图锁定配置不是【锁定方向】!,无法正常使用地图追踪功能。请在原神 游戏设置——其他——小地图锁定 中调整为【锁定方向】!");
|
||||
}
|
||||
|
||||
if (inputSettings.MouseSenseIndex != 2
|
||||
|| inputSettings.MouseSenseIndexY != 2
|
||||
|| inputSettings.MouseFocusSenseIndex != 2
|
||||
@@ -59,4 +64,4 @@ public class GameSettingsChecker
|
||||
TaskControl.Logger.LogDebug(e, "获取原神游戏设置失败");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public class GenshinGameSettings
|
||||
public string GlobalPerfData { get; set; } // 全局性能数据
|
||||
|
||||
[JsonProperty("miniMapConfig")]
|
||||
public int MiniMapConfig { get; set; } // 小地图配置
|
||||
public int MiniMapConfig { get; set; } // 小地图锁定 0:锁定玩家视角 1:锁定方向
|
||||
|
||||
[JsonProperty("enableCameraSlope")]
|
||||
public bool EnableCameraSlope { get; set; } // 启用相机坡度
|
||||
|
||||
Reference in New Issue
Block a user