Enum tw_pack_lib::PFHFileType[][src]

pub enum PFHFileType {
    Boot,
    Release,
    Patch,
    Mod,
    Movie,
    Other(u32),
}

This enum represents the Type of a PackFile.

The possible types are, in the order they'll load when the game starts (their numeric value is the number besides them):

  • Boot (0): Used in CA PackFiles, not useful for modding.
  • Release (1): Used in CA PackFiles, not useful for modding.
  • Patch (2): Used in CA PackFiles, not useful for modding.
  • Mod (3): Used for mods. PackFiles of this type are only loaded in the game if they are enabled in the Mod Manager/Launcher.
  • Movie (4): Used in CA PackFiles and for some special mods. Unlike Mod PackFiles, these ones always get loaded.
  • Other(u32): Wildcard for any type that doesn't fit in any of the other categories. The type's value is stored in the Variant.

Variants

Methods

impl PFHFileType
[src]

This function returns the PackFile's Type in u32 format. To know what value corresponds with what type, check their definition's comment.

Trait Implementations

impl Debug for PFHFileType
[src]

Formats the value using the given formatter. Read more

impl Clone for PFHFileType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PFHFileType
[src]

impl PartialEq for PFHFileType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PFHFileType
[src]

Auto Trait Implementations

impl Send for PFHFileType

impl Sync for PFHFileType