Enum tw_pack_lib::PFHFileType
source · pub enum PFHFileType {
Boot,
Release,
Patch,
Mod,
Movie,
Other(u32),
}
Expand description
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. UnlikeMod
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
Boot
Release
Patch
Mod
Movie
Other(u32)
Implementations
sourceimpl PFHFileType
impl PFHFileType
Trait Implementations
sourceimpl Clone for PFHFileType
impl Clone for PFHFileType
sourcefn clone(&self) -> PFHFileType
fn clone(&self) -> PFHFileType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PFHFileType
impl Debug for PFHFileType
sourceimpl PartialEq<PFHFileType> for PFHFileType
impl PartialEq<PFHFileType> for PFHFileType
sourcefn eq(&self, other: &PFHFileType) -> bool
fn eq(&self, other: &PFHFileType) -> bool
impl Copy for PFHFileType
impl Eq for PFHFileType
impl StructuralEq for PFHFileType
impl StructuralPartialEq for PFHFileType
Auto Trait Implementations
impl RefUnwindSafe for PFHFileType
impl Send for PFHFileType
impl Sync for PFHFileType
impl Unpin for PFHFileType
impl UnwindSafe for PFHFileType
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