pub struct Fighter {
pub cased_name: String,
pub moveset: Arc,
pub motion: Arc,
pub models: Vec<Arc>,
pub modded_by_psa: bool,
}
This is the main entry point of the library.
Call this function to get Fighter structs that correspond to each fighters folder in the 'fighter' directory
brawl_fighter_dir must point at an exported Brawl 'fighter' directory.
mod_fighter_dir may point at a brawl mod 'fighter' directory.
Individual files in mod_fighter_dir will replace files in the brawl_fighter_dir with the same name.
If single_model is true then only one model for each fighter is loaded, otherwise all models are loaded.
It's much faster to only process one model so set this to true if you only need one.
retrieves the fighter data
retrieves the bones from a character model
retrieves the animations for the character model
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)