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

Method GetConditions

BG3Extender/GameDefinitions/Stats/Stats.cpp:480–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480std::optional<STDString*> RPGStats::GetConditions(int conditionsId)
481{
482 if (conditionsId > 0) {
483 return &Conditions[conditionsId];
484 } else {
485 return {};
486 }
487}
488
489int RPGStats::GetOrCreateConditions(STDString const& conditions)
490{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected