| 468 | } |
| 469 | |
| 470 | TranslatedString* RPGStats::GetOrCreateTranslatedString(int& attributeId) |
| 471 | { |
| 472 | if (attributeId < 0) { |
| 473 | attributeId = (int)TranslatedStrings.Size(); |
| 474 | TranslatedStrings.push_back(TranslatedString{}); |
| 475 | } |
| 476 | |
| 477 | return &TranslatedStrings[attributeId]; |
| 478 | } |
| 479 | |
| 480 | std::optional<STDString*> RPGStats::GetConditions(int conditionsId) |
| 481 | { |