1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-22 04:37:46 +00:00

Make more EXH fields public

This commit is contained in:
Joshua Goins 2023-04-09 15:35:10 -04:00
parent 925e928783
commit 0eb8e4c932

View file

@ -18,7 +18,7 @@ pub struct EXHHeader {
#[br(pad_before = 6)] #[br(pad_before = 6)]
#[br(pad_after = 8)] #[br(pad_after = 8)]
pub(crate) row_count: u32, pub row_count: u32,
} }
#[binread] #[binread]
@ -58,7 +58,7 @@ pub struct ExcelColumnDefinition {
#[allow(dead_code)] #[allow(dead_code)]
pub struct ExcelDataPagination { pub struct ExcelDataPagination {
pub start_id: u32, pub start_id: u32,
row_count: u32, pub row_count: u32,
} }
#[binread] #[binread]
@ -74,7 +74,7 @@ pub struct EXH {
pub pages: Vec<ExcelDataPagination>, pub pages: Vec<ExcelDataPagination>,
#[br(count = header.language_count)] #[br(count = header.language_count)]
languages: Vec<Language>, pub languages: Vec<Language>,
} }
impl EXH { impl EXH {