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

Method detachObserver

radiantcore/entity/KeyObserverMap.h:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 void detachObserver(const std::string& key, KeyObserver& observer, bool sendEmptyValue)
79 {
80 if (EntityKeyValuePtr kvp = _entity.getEntityKeyValue(key); kvp)
81 kvp->detach(observer, sendEmptyValue);
82 }
83
84public:
85 KeyObserverMap(SpawnArgs& entity) :

Callers 1

~KeyObserverMapMethod · 0.45

Calls 2

getEntityKeyValueMethod · 0.45
detachMethod · 0.45

Tested by

no test coverage detected