| 1827 | } |
| 1828 | |
| 1829 | const 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 | |
| 1836 | const char *getFormattedData(S32 type, const char *data, const EnumTable *tbl, BitSet32 flag) |
| 1837 | { |