Jazz2::Editor::LevelTextLanguageState struct

Language of the translations shown in the dialog of the level texts.

The translations are kept in the chunk of the level Formats::LevelTextsChunk, read again only when the level changed, as the boxes of all texts ask for them every frame.

Public functions

auto GetLanguages(IEditorContext& session) -> ArrayView<const LocalizedLevelTexts>
Returns the translations of the level, read again if it changed.

Public variables

String Language
Language whose translations are edited, empty for none.