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

Method getIntVariable

Engine/source/console/consoleInternal.cpp:639–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639S32 Dictionary::getIntVariable(StringTableEntry name, bool *entValid)
640{
641 Entry *ent = lookup(name);
642 if(ent)
643 {
644 if(entValid)
645 *entValid = true;
646 return ent->getIntValue();
647 }
648
649 if(entValid)
650 *entValid = false;
651
652 return 0;
653}
654
655F32 Dictionary::getFloatVariable(StringTableEntry name, bool *entValid)
656{

Callers

nothing calls this directly

Calls 1

getIntValueMethod · 0.45

Tested by

no test coverage detected