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

Function getAddVariableEntry

Engine/source/console/console.cpp:836–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836Dictionary::Entry *getAddVariableEntry(const char *name)
837{
838 name = prependDollar(name);
839 StringTableEntry stName = StringTable->insert(name);
840 Dictionary::Entry *entry = gEvalState.globalVars.lookup(stName);
841 if (!entry)
842 entry = gEvalState.globalVars.add(stName);
843 return entry;
844}
845
846Dictionary::Entry *getAddLocalVariableEntry(const char *name)
847{

Callers 3

setBoolVariableFunction · 0.85
setIntVariableFunction · 0.85
setFloatVariableFunction · 0.85

Calls 4

prependDollarFunction · 0.85
insertMethod · 0.45
lookupMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected