| 226 | } |
| 227 | |
| 228 | void RegionData::SetLanguages(vector<localisation::LanguageIndex> const & languageIndexes) |
| 229 | { |
| 230 | string value; |
| 231 | for (localisation::LanguageIndex const & languageIndex : languageIndexes) |
| 232 | { |
| 233 | if (languageIndex != localisation::kUnsupportedLanguageIndex) |
| 234 | value.push_back(languageIndex); |
| 235 | } |
| 236 | MetadataBase::Set(RegionData::Type::RD_LANGUAGES, value); |
| 237 | } |
| 238 | |
| 239 | void RegionData::SetLanguages(vector<localisation::LanguageCode> const & languageCodes) |
| 240 | { |