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

Function getData

Engine/source/console/console.cpp:1743–1748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1741}
1742
1743const char *getData(S32 type, void *dptr, S32 index, const EnumTable *tbl, BitSet32 flag)
1744{
1745 ConsoleBaseType *cbt = ConsoleBaseType::getType(type);
1746 AssertFatal(cbt, "Con::getData - could not resolve type ID!");
1747 return cbt->getData((void *) (((const char *)dptr) + index * cbt->getTypeSize()), tbl, flag);
1748}
1749
1750const char *getFormattedData(S32 type, const char *data, const EnumTable *tbl, BitSet32 flag)
1751{

Callers 15

assignFieldsFromMethod · 0.85
getDataFieldMethod · 0.85
simObject.cppFile · 0.85
setObjectAttributesMethod · 0.85
copyFieldsMethod · 0.85
getFormattedDataFunction · 0.85
getSignedIntValueMethod · 0.85
getIntValueMethod · 0.85
getFloatValueMethod · 0.85
getStringValueMethod · 0.85
getBoolValueMethod · 0.85
setIntValueMethod · 0.85

Calls 3

getTypeFunction · 0.85
getTypeSizeMethod · 0.80
getDataMethod · 0.45

Tested by 3

constructEditControlMethod · 0.68
updateValueMethod · 0.68
renderTooltipMethod · 0.68