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.
24 lines
No EOL
409 B
C++
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); |