pub struct GameRegistration {Show 13 fields
pub game_id: &'static str,
pub display_name: &'static str,
pub engine: EngineFamily,
pub launcher: LauncherIds,
pub wabbajack_names: &'static [&'static str],
pub nexus_domain: Option<&'static str>,
pub nexus_game_id: Option<u32>,
pub supports_save_profiles: bool,
pub plugin: &'static dyn GamePlugin,
pub scanner: Option<&'static dyn ModScanner>,
pub save_tracker: Option<&'static dyn SaveTracker>,
pub collision_classifier: Option<CollisionClassifierFactory>,
pub optiscaler_profiles: &'static [OptiScalerProfile],
}Expand description
A single supported game’s metadata and capability wiring: it ties a
game_id to its GamePlugin, optional ModScanner/SaveTracker,
launcher IDs, and Nexus/Wabbajack identifiers.
Fields§
§game_id: &'static str§display_name: &'static str§engine: EngineFamily§launcher: LauncherIds§wabbajack_names: &'static [&'static str]§nexus_domain: Option<&'static str>§nexus_game_id: Option<u32>§supports_save_profiles: bool§plugin: &'static dyn GamePlugin§scanner: Option<&'static dyn ModScanner>§save_tracker: Option<&'static dyn SaveTracker>§collision_classifier: Option<CollisionClassifierFactory>§optiscaler_profiles: &'static [OptiScalerProfile]Implementations§
Source§impl GameRegistration
impl GameRegistration
Sourcepub fn normalized_wabbajack_names(self) -> impl Iterator<Item = String>
pub fn normalized_wabbajack_names(self) -> impl Iterator<Item = String>
Yield this game’s Wabbajack names lowercased and stripped to ASCII alphanumerics, for robust matching against manifest game strings.
Trait Implementations§
Source§impl Clone for GameRegistration
impl Clone for GameRegistration
Source§fn clone(&self) -> GameRegistration
fn clone(&self) -> GameRegistration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GameRegistration
Auto Trait Implementations§
impl Freeze for GameRegistration
impl !RefUnwindSafe for GameRegistration
impl Send for GameRegistration
impl Sync for GameRegistration
impl Unpin for GameRegistration
impl UnsafeUnpin for GameRegistration
impl !UnwindSafe for GameRegistration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more