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

Method GetFixedString

BG3Extender/GameDefinitions/Stats/Stats.cpp:383–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383std::optional<FixedString*> RPGStats::GetFixedString(int stringId)
384{
385 if (stringId > 0) {
386 return &FixedStrings[stringId];
387 } else {
388 return {};
389 }
390}
391
392FixedString* RPGStats::GetOrCreateFixedString(int& stringId)
393{

Callers 1

SyncStatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected