update misc map data (#2570)

This commit is contained in:
Jamis
2025-12-20 00:27:06 +08:00
committed by GitHub
parent f73a546acb
commit cf7eab0939
3 changed files with 8 additions and 1 deletions

View File

@@ -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}]失败");
}

View File

@@ -16,4 +16,7 @@ public enum DisplayMapTypes
[Description("旧日之海")]
SeaOfBygoneEras,
[Description("远古圣山")]
AncientSacredMountain,
}

View File

@@ -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);