Struct tw_pack_lib::PackFile[][src]

pub struct PackFile { /* fields omitted */ }

Methods

impl PackFile
[src]

This function returns the PFHVersion of the provided PackFile.

This function returns the PFHFileType of the provided PackFile.

This function returns the PFHFlags of the provided PackFile.

This function returns the Timestamp stored in the header of the provided PackFile, if any.

Keep in mind this Timestamp is in u32 format. If you want to actually check it, you have to convert it to something readable.

This function returns the PackFile Index some PackFiles have after their header.

It's a Vec<String> with values like test1.pack. The game seems to force PackFiles in this Index (if it finds them) to be loaded before the current one.

Trait Implementations

impl Display for PackFile
[src]

Formats the value using the given formatter. Read more

impl<'a> IntoIterator for &'a PackFile
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl Clone for PackFile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PackFile

impl Sync for PackFile