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

Method setValue

Engine/source/util/settings.cpp:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void Settings::setValue(const UTF8 *settingName, const UTF8 *settingValue)
69{
70 String name;
71 buildGroupString(name, settingName);
72 StringTableEntry nameEntry = StringTable->insert(name.c_str());
73
74 setModStaticFields(false);
75 setDataField(nameEntry, NULL, settingValue);
76 setModStaticFields(true);
77}
78
79const UTF8 *Settings::value(const UTF8 *settingName, const UTF8 *defaultValue)
80{

Callers 7

processAnimationMethod · 0.45
onInspectMethod · 0.45
btCastFunction · 0.45
DefineEngineMethodFunction · 0.45

Calls 2

insertMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected