document ItemPT format

This commit is contained in:
Martin Michelsen
2022-12-29 19:54:29 -08:00
parent 68abac4fd4
commit b52700c08e
2 changed files with 206 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@ using namespace std;
RareItemSet::RareItemSet(shared_ptr<const string> data) : data(data) {
// TODO: Actually parse the GSL here instead of treating it as a blob
if (this->data->size() != sizeof(Table) * 10 * 4 * 3) {
throw runtime_error("data file size is incorrect");
}