pub struct SqpkFile {
pub operation: SqpkFileOperation,
pub file_offset: i64,
pub file_size: i64,
pub expansion_id: u16,
pub path: String,
pub block_source_offsets: Vec<u64>,
pub blocks: Vec<SqpkCompressedBlock>,
}Expand description
SQPK F command body: file-level operation (add/delete/etc.) on the install tree.
Fields§
§operation: SqpkFileOperationOperation type (A/R/D/M).
file_offset: i64Destination offset within the target file (negative is rejected at apply).
file_size: i64Declared total size of the target file after the operation.
expansion_id: u16Expansion ID; selects the ex<n> (or ffxiv) sub-folder for RemoveAll.
path: StringRelative target path under the game install root.
block_source_offsets: Vec<u64>Byte offset of each block’s data payload (after its 16-byte header)
within the SQPK command body slice. Add the chunk’s absolute file
position to get the patch-file offset needed for IndexedZiPatch
random-access reads.
blocks: Vec<SqpkCompressedBlock>Inline block payloads for AddFile; empty for other operations.
Trait Implementations§
impl Eq for SqpkFile
impl StructuralPartialEq for SqpkFile
Auto Trait Implementations§
impl Freeze for SqpkFile
impl RefUnwindSafe for SqpkFile
impl Send for SqpkFile
impl Sync for SqpkFile
impl Unpin for SqpkFile
impl UnsafeUnpin for SqpkFile
impl UnwindSafe for SqpkFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more