| 843 | } |
| 844 | |
| 845 | void *CDataFileReader::GetItem(int Index, int *pType, int *pId, CUuid *pUuid) |
| 846 | { |
| 847 | dbg_assert(m_pDataFile != nullptr, "File not open"); |
| 848 | |
| 849 | CDatafileItem *pItem = m_pDataFile->GetItem(Index); |
| 850 | const int ExternalType = GetExternalItemType(pItem->Type(), pUuid); |
| 851 | if(pType) |
| 852 | { |
| 853 | *pType = ExternalType; |
| 854 | } |
| 855 | if(pId) |
| 856 | { |
| 857 | *pId = pItem->Id(); |
| 858 | } |
| 859 | return static_cast<void *>(pItem + 1); |
| 860 | } |
| 861 | |
| 862 | void CDataFileReader::GetType(int Type, int *pStart, int *pNum) |
| 863 | { |
no test coverage detected