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

Method forEachKeyValue

plugins/script/interfaces/EntityInterface.cpp:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void ScriptEntityNode::forEachKeyValue(EntityVisitor& visitor) {
61 Entity* entity = Node_getEntity(*this);
62
63 if (entity)
64 {
65 entity->forEachKeyValue([&](const std::string& key, const std::string& value)
66 {
67 visitor.visit(key, value);
68 });
69 }
70}
71
72// Checks if the given SceneNode structure is a BrushNode
73bool ScriptEntityNode::isEntity(const ScriptSceneNode& node) {

Callers 9

ObjectiveEntityMethod · 0.45
TargetListMethod · 0.45
ConversationEntityMethod · 0.45
beginWriteEntityMethod · 0.45
preMethod · 0.45
reloadMethod · 0.45
saveMethod · 0.45
loadMethod · 0.45
cleanEntityMethod · 0.45

Calls 2

Node_getEntityFunction · 0.85
visitMethod · 0.45

Tested by

no test coverage detected