|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Container for the different cases of a string. More...
#include <strgen.h>
Public Member Functions | |
| Case (uint8_t caseidx, std::string_view string) | |
| Create a new case. | |
Data Fields | |
| uint8_t | caseidx |
| The index of the case. | |
| std::string | string |
| The translation of the case. | |
| Case::Case | ( | uint8_t | caseidx, |
| std::string_view | string ) |
| uint8_t Case::caseidx |
The index of the case.
Definition at line 23 of file strgen.h.
Referenced by Case(), and LanguageWriter::WriteLang().
| std::string Case::string |
The translation of the case.
Definition at line 24 of file strgen.h.
Referenced by Case(), and LanguageWriter::WriteLang().