From 63bcce3e0b45713c22aa3a292afa06d07a18eb0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Mon, 4 May 2026 21:05:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BetterGenshinImpact/Core/Script/Dependence/Genshin.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs b/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs index 0c325211..38b82d73 100644 --- a/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs +++ b/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs @@ -217,9 +217,9 @@ public class Genshin return GetPositionFromMap(MapTypes.Teyvat.ToString()); } - public Point2f? GetPositionFromMap(string matchingMethod) + public Point2f? GetPositionFromMapWithMatchingMethod(string matchingMethod) { - return GetPositionFromMap(nameof(MapTypes.Teyvat), matchingMethod); + return GetPositionFromMapWithMatchingMethod(nameof(MapTypes.Teyvat), matchingMethod); } public float GetCameraOrientation() @@ -237,10 +237,10 @@ public class Genshin public Point2f? GetPositionFromMap(string mapName, int cacheTimeMs = 900) { var matchingMethod = TaskContext.Instance().Config.PathingConditionConfig.MapMatchingMethod; - return GetPositionFromMap(mapName,matchingMethod, cacheTimeMs); + return GetPositionFromMapWithMatchingMethod(mapName,matchingMethod, cacheTimeMs); } - public Point2f? GetPositionFromMap(string mapName, string matchingMethod, int cacheTimeMs = 900) + public Point2f? GetPositionFromMapWithMatchingMethod(string mapName, string matchingMethod, int cacheTimeMs = 900) { var imageRegion = CaptureToRectArea(); if (!Bv.IsInMainUi(imageRegion)) From 5e98ff724fa9217610866d23d90f43b3854696ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Mon, 4 May 2026 21:05:50 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BetterGenshinImpact/Core/Script/Dependence/Genshin.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs b/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs index 0c325211..38b82d73 100644 --- a/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs +++ b/BetterGenshinImpact/Core/Script/Dependence/Genshin.cs @@ -217,9 +217,9 @@ public class Genshin return GetPositionFromMap(MapTypes.Teyvat.ToString()); } - public Point2f? GetPositionFromMap(string matchingMethod) + public Point2f? GetPositionFromMapWithMatchingMethod(string matchingMethod) { - return GetPositionFromMap(nameof(MapTypes.Teyvat), matchingMethod); + return GetPositionFromMapWithMatchingMethod(nameof(MapTypes.Teyvat), matchingMethod); } public float GetCameraOrientation() @@ -237,10 +237,10 @@ public class Genshin public Point2f? GetPositionFromMap(string mapName, int cacheTimeMs = 900) { var matchingMethod = TaskContext.Instance().Config.PathingConditionConfig.MapMatchingMethod; - return GetPositionFromMap(mapName,matchingMethod, cacheTimeMs); + return GetPositionFromMapWithMatchingMethod(mapName,matchingMethod, cacheTimeMs); } - public Point2f? GetPositionFromMap(string mapName, string matchingMethod, int cacheTimeMs = 900) + public Point2f? GetPositionFromMapWithMatchingMethod(string mapName, string matchingMethod, int cacheTimeMs = 900) { var imageRegion = CaptureToRectArea(); if (!Bv.IsInMainUi(imageRegion))