MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setVariable

Method setVariable

Engine/source/console/consoleInternal.cpp:607–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607void Dictionary::setVariable(StringTableEntry name, const char *value)
608{
609 Entry *ent = add(name);
610 if (!value)
611 value = "";
612 ent->setStringValue(value);
613}
614
615Dictionary::Entry* Dictionary::addVariable(const char *name,
616 S32 type,

Callers 2

setVariableFunction · 0.45

Calls 2

addFunction · 0.50
setStringValueMethod · 0.45

Tested by

no test coverage detected