MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / attachKeyObservers

Method attachKeyObservers

radiantcore/entity/NamespaceManager.cpp:215–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void NamespaceManager::attachKeyObservers()
216{
217 // May not be called with empty namespace
218 assert(_namespace);
219
220 // Traverse the entity
221 _entity.forEachEntityKeyValue([this](const std::string& key, EntityKeyValue& value)
222 {
223 attachKeyObserver(key, value);
224 });
225}
226
227void NamespaceManager::detachKeyObserver(const std::string& key, EntityKeyValue& keyValue)
228{

Callers

nothing calls this directly

Calls 1

forEachEntityKeyValueMethod · 0.80

Tested by

no test coverage detected