Skip to main content

Module source

Module source 

Source
Expand description

Source text handed to the library by its caller.

Structs§

RelPath
A /-separated path relative to the mod root, without . or .. segments. It never names a location outside the mod.
SourceFile
The caller reads files; the library only receives their text.
SourcePosition
UTF-8 byte offset with 1-based line and column, as produced by the parser. Editors convert to their own encoding at their boundary.
SourceSpan

Enums§

SourceKind
Whether EU4 itself loads the file.