Archived
1
Fork 0
This repository has been archived on 2025-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
libxiv/include/exdparser.h
Joshua Goins 7006cc4662 Add exl parser, make exd category configurable
Now you can easily parse EXL files, and this commit includes changes
to GameData to easily extract a EXH from just an excel sheet name
like "Item" or "Map". However this still doesn't work for language
seperated excel sheets yet.
2022-04-11 10:18:29 -04:00

24 lines
No EOL
409 B
C++

#pragma once
#include <string_view>
#include <string>
#include <vector>
struct EXH;
struct ExcelDataPagination;
struct Column {
std::string data;
};
struct Row {
std::vector<Column> data;
};
struct EXD {
std::vector<Row> rows;
};
std::string getEXDFilename(EXH& exh, std::string_view name, ExcelDataPagination& page);
EXD readEXD(EXH& exh, std::string_view path, ExcelDataPagination& page);