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

Method getIntVariable

Engine/source/console/consoleInternal.cpp:575–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575S32 Dictionary::getIntVariable(StringTableEntry name, bool *entValid)
576{
577 Entry *ent = lookup(name);
578 if (ent)
579 {
580 if (entValid)
581 *entValid = true;
582 return ent->getIntValue();
583 }
584
585 if (entValid)
586 *entValid = false;
587
588 return 0;
589}
590
591F32 Dictionary::getFloatVariable(StringTableEntry name, bool *entValid)
592{

Callers

nothing calls this directly

Calls 2

lookupFunction · 0.85
getIntValueMethod · 0.45

Tested by

no test coverage detected