Bare mod id (no leading '@') — ModInstallDir/GetModInstallStatus prepend it.
| 1368 | r.sizeBytes = static_cast<int64_t>(i + 1) * 10 * 1024 * 1024; |
| 1369 | r.state = static_cast<ModRowState>(i % 3); // cycles Missing/Downloaded/Active |
| 1370 | r.source = (i % 2 == 0) ? ModRowSource::Workshop : ModRowSource::Local; // odd rows Local |
| 1371 | r.checked = (i % 2 == 0); |
| 1372 | rows.Add(r); |
| 1373 | } |
| 1374 | list->SetRows(rows); |
| 1375 | // Keep the active sort + its caret consistent with the freshly-seeded rows. |
| 1376 | list->Sort(static_cast<ModsSortColumn>(_sortColumn), _sortAscending); |
| 1377 | UpdateSortCarets(); |
| 1378 | } |
| 1379 |
no test coverage detected