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

Function getLocalVariable

Engine/source/console/console.cpp:977–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975}
976
977const char *getLocalVariable(const char *name)
978{
979 name = prependPercent(name);
980
981 return gEvalState.getCurrentFrame().getVariable(StringTable->insert(name));
982}
983
984bool getBoolVariable(const char *varName, bool def)
985{

Callers 1

Calls 3

prependPercentFunction · 0.85
getVariableMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected