OpenTTD Source 20241224-master-gee860a5c8e
|
Container for the raw (unencoded) language strings of a language. More...
#include <game_text.hpp>
Public Member Functions | |
LanguageStrings (const std::string &lang) | |
LanguageStrings (const LanguageStrings &other) | |
LanguageStrings (LanguageStrings &&other) | |
bool | IsValid () const |
Data Fields | |
std::string | language |
Name of the language (base filename). Empty string if invalid. | |
StringList | lines |
The lines of the file to pass into the parser/encoder. | |
Container for the raw (unencoded) language strings of a language.
Definition at line 37 of file game_text.hpp.
|
inline |
Definition at line 41 of file game_text.hpp.
|
inline |
Definition at line 42 of file game_text.hpp.
|
inline |
Definition at line 43 of file game_text.hpp.
|
inline |
Definition at line 44 of file game_text.hpp.
|
inline |
Definition at line 46 of file game_text.hpp.
std::string LanguageStrings::language |
Name of the language (base filename). Empty string if invalid.
Definition at line 38 of file game_text.hpp.
StringList LanguageStrings::lines |
The lines of the file to pass into the parser/encoder.
Definition at line 39 of file game_text.hpp.
Referenced by GetGameStringPtr(), and ReadRawLanguageStrings().