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

Function hasCustomObjectsInIndex

src/OpenLoco/src/Objects/ObjectIndex.cpp:157–167  ·  view source on GitHub ↗

0x00471712

Source from the content-addressed store, hash-verified

155
156 // 0x00471712
157 static bool hasCustomObjectsInIndex()
158 {
159 for (auto& obj : _installedObjectList)
160 {
161 if (obj._header.isCustom())
162 {
163 return true;
164 }
165 }
166 return false;
167 }
168
169 static void serialiseEntry(Stream& stream, const ObjectIndexEntry& entry)
170 {

Callers 1

loadIndexFunction · 0.85

Calls 1

isCustomMethod · 0.80

Tested by

no test coverage detected