pub struct PakInfo {
pub magic: u32,
pub version: PakVersion,
pub index_offset: u64,
pub index_size: u64,
pub index_hash: [u8; 20],
pub encrypted_index: bool,
pub index_is_frozen: bool,
pub encryption_key_guid: [u32; 4],
pub compression_methods: Vec<String>,
}
Expand description
FPakInfo archivable
Fields
magic: u32
Pak file magic value.
version: PakVersion
Pak file version.
index_offset: u64
Offset to pak file index.
index_size: u64
Size (in bytes) of pak file index.
index_hash: [u8; 20]
Index SHA1 value.
encrypted_index: bool
Flag indicating if the pak index has been encrypted.
index_is_frozen: bool
Flag indicating if the pak index has been frozen
encryption_key_guid: [u32; 4]
Encryption key guid. Empty if we should use the embedded key.
compression_methods: Vec<String>
Compression methods used in this pak file (i.e. “Zlib”, “Gzip”, “LZ4”, “Oodle”, …)
Implementations
sourceimpl PakInfo
impl PakInfo
pub fn new(version: PakVersion) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PakInfo
impl Send for PakInfo
impl Sync for PakInfo
impl Unpin for PakInfo
impl UnwindSafe for PakInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more