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

Function getData

Engine/source/console/console.cpp:1829–1834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1827}
1828
1829const char *getData(S32 type, void *dptr, S32 index, const EnumTable *tbl, BitSet32 flag)
1830{
1831 ConsoleBaseType *cbt = ConsoleBaseType::getType(type);
1832 AssertFatal(cbt, "Con::getData - could not resolve type ID!");
1833 return cbt->getData((void *) (((const char *)dptr) + index * cbt->getTypeSize()), tbl, flag);
1834}
1835
1836const char *getFormattedData(S32 type, const char *data, const EnumTable *tbl, BitSet32 flag)
1837{

Callers 15

writePropertiesFunction · 0.85
writePropertiesFunction · 0.85
assignFieldsFromMethod · 0.85
getDataFieldMethod · 0.85
simObject.cppFile · 0.85
setObjectAttributesMethod · 0.85
getIntValueMethod · 0.85
getFloatValueMethod · 0.85
getStringValueMethod · 0.85
setIntValueMethod · 0.85
setFloatValueMethod · 0.85
copyFieldsMethod · 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