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

Method GetStatus

BG3Extender/GameDefinitions/GameHelpers.cpp:197–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 }
196
197 esv::Status* esv::StatusMachine::GetStatus(FixedString const& statusId) const
198 {
199 for (auto status : Statuses) {
200 if (status->StatusId == statusId) {
201 return status;
202 }
203 }
204
205 return nullptr;
206 }
207
208 static bool CharacterGetSelfCalled{ false };
209

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected