MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / isInUseCompetitor

Function isInUseCompetitor

src/OpenLoco/src/Ui/Windows/CompanyFaceSelection.cpp:149–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 static bool isInUseCompetitor(const uint32_t objIndex)
150 {
151 return std::find(_inUseCompetitors.begin(), _inUseCompetitors.end(), objIndex) != _inUseCompetitors.end();
152 }
153
154 static ObjectManager::ObjIndexPair getObjectFromSelection(const int16_t y)
155 {

Callers 2

getObjectFromSelectionFunction · 0.85
drawScrollFunction · 0.85

Calls 3

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected