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

Method setKeyValue

plugins/script/interfaces/EntityInterface.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void ScriptEntityNode::setKeyValue(const std::string& key, const std::string& value) {
26 Entity* entity = Node_getEntity(*this);
27
28 if (entity != NULL) {
29 entity->setKeyValue(key, value);
30 }
31}
32
33bool ScriptEntityNode::isInherited(const std::string& key) {
34 Entity* entity = Node_getEntity(*this);

Callers 15

_onAddEntityMethod · 0.45
writeMissionLogicMethod · 0.45
writeComponentsMethod · 0.45
clearEntityMethod · 0.45
writeToEntityMethod · 0.45
clearEntityMethod · 0.45
writeToEntityMethod · 0.45
onAddEntityMethod · 0.45
saveMethod · 0.45
onChooseButtonMethod · 0.45
onBrowseButtonMethod · 0.45

Calls 1

Node_getEntityFunction · 0.85

Tested by

no test coverage detected