mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-17 09:26:50 +08:00
update misc map data (#2570)
This commit is contained in:
@@ -894,7 +894,7 @@ public class TpTask
|
||||
if (matchRect == null)
|
||||
{
|
||||
Logger.LogWarning("切换区域失败:{Country}", areaName);
|
||||
if (areaName == MapTypes.TheChasm.GetDescription() || areaName == MapTypes.Enkanomiya.GetDescription() || areaName == MapTypes.SeaOfBygoneEras.GetDescription())
|
||||
if (areaName == MapTypes.TheChasm.GetDescription() || areaName == MapTypes.Enkanomiya.GetDescription() || areaName == MapTypes.SeaOfBygoneEras.GetDescription() || areaName == MapTypes.AncientSacredMountain.GetDescription())
|
||||
{
|
||||
throw new Exception($"切换独立地图区域[{areaName}]失败");
|
||||
}
|
||||
|
||||
@@ -16,4 +16,7 @@ public enum DisplayMapTypes
|
||||
|
||||
[Description("旧日之海")]
|
||||
SeaOfBygoneEras,
|
||||
|
||||
[Description("远古圣山")]
|
||||
AncientSacredMountain,
|
||||
}
|
||||
@@ -102,6 +102,10 @@ public partial class MapViewerViewModel : ObservableObject
|
||||
{
|
||||
_mapImage = new Mat(Global.Absolute(@"Assets/Map/SeaOfBygoneEras/SeaOfBygoneEras_0_1024.png"));
|
||||
}
|
||||
else if (mapName == MapTypes.AncientSacredMountain.ToString())
|
||||
{
|
||||
_mapImage = new Mat(Global.Absolute(@"Assets/Map/AncientSacredMountain/AncientSacredMountain_0_1024.png"));
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception("暂时不支持展示路径的地图类型:" + mapName);
|
||||
|
||||
Reference in New Issue
Block a user