Table of Contents

Class ProvinceMapProcessor

Namespace
Map.Loading
Assembly
MapAssembly.dll

Wraps ProvinceMapParser to provide async loading interface for Map layer Bridges between ParadoxParser.Bitmap and Map layer expectations Supports both BMP and PNG image formats via auto-detection

public class ProvinceMapProcessor
Inheritance
object
ProvinceMapProcessor

Methods

LoadProvinceMapAsync(string, string)

Load province map asynchronously Note: Runs on main thread due to NativeCollection thread safety requirements

public Task<ProvinceMapProcessor.ProvinceMapResult> LoadProvinceMapAsync(string bmpPath, string csvPath)

Parameters

bmpPath string
csvPath string

Returns

Task<ProvinceMapProcessor.ProvinceMapResult>

Events

OnProgressUpdate

public event Action<ProvinceMapProcessor.ProcessingProgress> OnProgressUpdate

Event Type

Action<ProvinceMapProcessor.ProcessingProgress>