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

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.