MCPcopy Create free account
hub / github.com/Norbyte/bg3se / GetTranslatedString

Method GetTranslatedString

BG3Extender/GameDefinitions/Stats/Stats.cpp:461–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

ShowVersionNumberMethod · 0.80
GetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected