Struct RawCountryData
Burst-compatible struct for country data extracted from JSON5 Used as intermediate format between JSON parsing and burst processing
ENGINE layer - generic country data only. Game-specific fields (religion, revolutionary colors, etc.) should be parsed by game layer and stored in CountryColdData.customData.
[Serializable]
public struct RawCountryData
Fields
colorB
public byte colorB
Field Value
- byte
colorG
public byte colorG
Field Value
- byte
colorR
public byte colorR
Field Value
- byte
graphicalCulture
public FixedString64Bytes graphicalCulture
Field Value
- FixedString64Bytes
hasGraphicalCulture
public bool hasGraphicalCulture
Field Value
- bool
tag
public FixedString64Bytes tag
Field Value
- FixedString64Bytes
Properties
Invalid
public static RawCountryData Invalid { get; }
Property Value
Methods
GetColor()
Get the country color as Unity Color32
public Color32 GetColor()