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

Method Find

engine/Poseidon/Core/ServerModResolve.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17const ModCatalogEntry* ModCatalog::Find(const ModId& id) const
18{
19 auto it = _index.find(id);
20 return it != _index.end() ? &_entries[it->second] : nullptr;
21}
22
23ServerModList::ServerModList(const std::string& modString, bool equalModRequired) : _exact(equalModRequired)
24{

Callers 1

ResolveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected