PaletteMarkedUpText(Markup.MarkupParseResult,MarkupPalette)
Last updated
Was this helpful?
Last updated
Was this helpful?
Method in
Applies the palette
to the line based on it's markup.
This is static so that other dialogue views can reuse this code. While this is simplistic it is useful enough that multiple pieces might well want it.
line
The parsed marked up line with it's attributes.
palette
The palette mapping attributes to colours.
A TMP formatted string with the palette markup values injected within.