| 459 | } |
| 460 | |
| 461 | std::optional<TranslatedString*> RPGStats::GetTranslatedString(int attributeId) |
| 462 | { |
| 463 | if (attributeId > 0) { |
| 464 | return &TranslatedStrings[attributeId]; |
| 465 | } else { |
| 466 | return {}; |
| 467 | } |
| 468 | } |
| 469 | |
| 470 | TranslatedString* RPGStats::GetOrCreateTranslatedString(int& attributeId) |
| 471 | { |
no outgoing calls
no test coverage detected