MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Find

Method Find

engine/Poseidon/Core/ModCollection.cpp:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211{
212 return Find(id) != nullptr;
213}
214
215const Mod* ModCollection::Find(const std::string& id) const
216{
217 for (const Mod& m : _mods)
218 if (ModMatchesToken(m, id))
219 return &m;
220 return nullptr;
221}
222

Callers 1

Calls 1

ModMatchesTokenFunction · 0.85

Tested by

no test coverage detected