| 136 | } |
| 137 | |
| 138 | void Load(LanguageStrings *ls) const override |
| 139 | { |
| 140 | uint32_t length = IsSavegameVersionBefore(SLV_SAVELOAD_LIST_LENGTH) ? _game_saveload_strings : (uint32_t)SlGetStructListLength(UINT32_MAX); |
| 141 | |
| 142 | for (uint32_t i = 0; i < length; i++) { |
| 143 | SlObject(nullptr, this->GetLoadDescription()); |
| 144 | ls->lines.emplace_back(_game_saveload_string); |
| 145 | } |
| 146 | } |
| 147 | }; |
| 148 | |
| 149 | static const SaveLoad _game_language_desc[] = { |
nothing calls this directly
no test coverage detected