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

Function getLocalVariable

Engine/source/console/console.cpp:1029–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029const char *getLocalVariable(const char *name)
1030{
1031 name = prependPercent(name);
1032
1033 return gEvalState.getCurrentFrame().getVariable(StringTable->insert(name));
1034}
1035
1036bool getBoolVariable(const char *varName, bool def)
1037{

Callers 1

Calls 3

prependPercentFunction · 0.85
getVariableMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected