Table of Contents

Class BurstCountryLoader

Namespace
Core.Loaders
Assembly
Core.dll

Country loader using hybrid JSON5 + Burst architecture Phase 1: Load JSON5 files to structs (main thread) Phase 2: Process structs with burst jobs (multi-threaded)

public static class BurstCountryLoader
Inheritance
object
BurstCountryLoader

Methods

LoadAllCountries(string, Dictionary<string, string>)

Load country data using hybrid JSON5 + Burst approach

public static CountryDataLoadResult LoadAllCountries(string dataDirectory, Dictionary<string, string> tagMapping = null)

Parameters

dataDirectory string

Directory containing country data

tagMapping Dictionary<string, string>

Optional mapping of filenames to country tags from 00_countries.txt

Returns

CountryDataLoadResult