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

Method getSignedIntValue

Engine/source/console/console.cpp:2572–2578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2570//------------------------------------------------------------------------------
2571
2572S32 ConsoleValue::getSignedIntValue()
2573{
2574 if(type <= TypeInternalString)
2575 return (S32)fval;
2576 else
2577 return dAtoi(Con::getData(type, dataPtr, 0, enumTable));
2578}
2579
2580U32 ConsoleValue::getIntValue()
2581{

Callers 1

TESTFunction · 0.45

Calls 2

getDataFunction · 0.85
dAtoiFunction · 0.70

Tested by 1

TESTFunction · 0.36