diff --git a/FModel/ViewModels/MapViewerViewModel.cs b/FModel/ViewModels/MapViewerViewModel.cs index 9c01248c..0758b687 100644 --- a/FModel/ViewModels/MapViewerViewModel.cs +++ b/FModel/ViewModels/MapViewerViewModel.cs @@ -89,11 +89,11 @@ namespace FModel.ViewModels set => SetProperty(ref _brVendingMachines, value, "ApolloGameplay_VendingMachines"); } - private bool _brFireflies; - public bool BrFireflies + private bool _brBountyBoards; + public bool BrBountyBoards { - get => _brFireflies; - set => SetProperty(ref _brFireflies, value, "ApolloGameplay_Fireflies"); + get => _brBountyBoards; + set => SetProperty(ref _brBountyBoards, value, "ApolloGameplay_BountyBoards"); } private bool _prLandmarks; @@ -267,8 +267,8 @@ namespace FModel.ViewModels case "ApolloGameplay_VendingMachines": await LoadBrVendingMachines(); break; - case "ApolloGameplay_Fireflies": - await LoadFireflies(); + case "ApolloGameplay_BountyBoards": + await LoadBountyBoards(); break; case "PapayaGameplay_CannonballGame": await LoadCannonballGame(); @@ -808,19 +808,19 @@ namespace FModel.ViewModels }); } - private async Task LoadFireflies() + private async Task LoadBountyBoards() { await _threadWorkerView.Begin(_ => { _fillPaint.StrokeWidth = 5; - var firefliesBitmap = new SKBitmap(_widthHeight, _widthHeight, SKColorType.Rgba8888, SKAlphaType.Premul); - using var c = new SKCanvas(firefliesBitmap); + var bountyBoardsBitmap = new SKBitmap(_widthHeight, _widthHeight, SKColorType.Rgba8888, SKAlphaType.Premul); + using var c = new SKCanvas(bountyBoardsBitmap); - var exports = Utils.LoadExports("FortniteGame/Content/Athena/Apollo/Maps/Special/ItemCollections/Apollo_Item_Fireflies"); + var exports = Utils.LoadExports("Bounties/Maps/BB_Overlay_S19_ServiceStations.umap"); foreach (var export in exports) { - if (!export.ExportType.Equals("BP_BGACSpawner_Fireflies_C", StringComparison.OrdinalIgnoreCase)) continue; - var displayName = $"FF_{export.Name["BP_BGACSpawnerFireFlies".Length..]}"; + if (!export.ExportType.Equals("B_Bounties_Spawner_BountyBoard_C", StringComparison.OrdinalIgnoreCase)) continue; + var displayName = $"BountyBoard_{export.Name["BP_BountyBoard_C_".Length..]}"; if (!export.TryGetValue(out FPackageIndex rootComponent, "RootComponent") || !Utils.TryGetPackageIndexExport(rootComponent, out UObject uObject) || @@ -832,7 +832,7 @@ namespace FModel.ViewModels c.DrawText(displayName, vector.X, vector.Y - 12.5F, _textPaint); } - _bitmaps[0]["ApolloGameplay_Fireflies"] = new MapLayer {Layer = firefliesBitmap, IsEnabled = false}; + _bitmaps[0]["ApolloGameplay_BountyBoards"] = new MapLayer {Layer = bountyBoardsBitmap, IsEnabled = false}; }); } diff --git a/FModel/Views/MapViewer.xaml b/FModel/Views/MapViewer.xaml index b2b6dc60..ada5e24b 100644 --- a/FModel/Views/MapViewer.xaml +++ b/FModel/Views/MapViewer.xaml @@ -37,8 +37,8 @@ - - +