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

Function getAddVariableEntry

Engine/source/console/console.cpp:778–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776}
777
778Dictionary::Entry *getAddVariableEntry(const char *name)
779{
780 name = prependDollar(name);
781 StringTableEntry stName = StringTable->insert(name);
782 Dictionary::Entry *entry = gEvalState.globalVars.lookup(stName);
783 if (!entry)
784 entry = gEvalState.globalVars.add(stName);
785 return entry;
786}
787
788Dictionary::Entry *getAddLocalVariableEntry(const char *name)
789{

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