OpenTTD Source: LoadedLanguagePack Struct Reference

OpenTTD Source 15.3

Data Fields
LoadedLanguagePack Struct Reference

## Data Fields
std::unique_ptr< LanguagePack, LanguagePackDeleter > | langpack
std::vector< std::string_view > | strings
std::array< uint, TEXT_TAB_END > | langtab_num
| Offset into langpack offs.
std::array< uint, TEXT_TAB_END > | langtab_start
| Offset into langpack offs.
std::string | list_separator
| Current list separator string.
std::string | ellipsis
| Current ellipsis string.

## Detailed Description

Definition at line 279 of file strings.cpp.

## Field Documentation

## ◆ ellipsis

std::string LoadedLanguagePack::ellipsis

Current ellipsis string.

Definition at line 288 of file strings.cpp.

Referenced by GetEllipsis(), and ReadLanguagePack().

## ◆ langpack

std::unique_ptr<LanguagePack, LanguagePackDeleter> LoadedLanguagePack::langpack

Definition at line 280 of file strings.cpp.

## ◆ langtab_num

std::array<uint, TEXT_TAB_END> LoadedLanguagePack::langtab_num

Offset into langpack offs.

Definition at line 284 of file strings.cpp.

Referenced by GetStringWithArgs(), LanguagePackGlyphSearcher::NextString(), and ReadLanguagePack().

## ◆ langtab_start

std::array<uint, TEXT_TAB_END> LoadedLanguagePack::langtab_start

Offset into langpack offs.

Definition at line 285 of file strings.cpp.

Referenced by LanguagePackGlyphSearcher::NextString(), and ReadLanguagePack().

## ◆ list_separator

std::string LoadedLanguagePack::list_separator

Current list separator string.

Definition at line 287 of file strings.cpp.

Referenced by GetListSeparator(), and ReadLanguagePack().

## ◆ strings

std::vector<std::string_view> LoadedLanguagePack::strings

Definition at line 282 of file strings.cpp.

The documentation for this struct was generated from the following file:

- src/strings.cpp