pub struct LauncherApp {Show 25 fields
pub current_page: Page,
pub storage: GameStorage,
pub config_manager: ConfigManager,
pub error_message: Option<String>,
pub unified_operation: UnifiedOperation,
pub dependency_receiver: Option<TaskHandle<()>>,
pub troubleshoot_receiver: Option<TaskHandle<TroubleshootData>>,
pub trainer_receiver: Option<TaskHandle<TrainerData>>,
pub troubleshoot_state: TroubleshootPageState,
pub trainer_state: TrainerPageState,
pub replays_state: ReplaysPageState,
pub music_state: MusicPageState,
pub snowboards_state: SnowboardsPageState,
pub riders_state: RidersPageState,
pub mods_state: ModsPageState,
pub updater: Updater,
pub update_logs: UpdateLogs,
pub last_status: UpdateStatus,
pub has_focused_play: bool,
pub is_supreme_initiator: bool,
pub launcher_config: LauncherConfig,
pub news_manager: NewsManager,
pub markdown_cache: CommonMarkCache,
pub show_news: bool,
pub current_article_index: usize,
}Fields§
§current_page: Page§storage: GameStorage§config_manager: ConfigManager§error_message: Option<String>§unified_operation: UnifiedOperation§dependency_receiver: Option<TaskHandle<()>>§troubleshoot_receiver: Option<TaskHandle<TroubleshootData>>§trainer_receiver: Option<TaskHandle<TrainerData>>§troubleshoot_state: TroubleshootPageState§trainer_state: TrainerPageState§replays_state: ReplaysPageState§music_state: MusicPageState§snowboards_state: SnowboardsPageState§riders_state: RidersPageState§mods_state: ModsPageState§updater: Updater§update_logs: UpdateLogs§last_status: UpdateStatus§has_focused_play: bool§is_supreme_initiator: bool§launcher_config: LauncherConfig§news_manager: NewsManager§markdown_cache: CommonMarkCache§show_news: bool§current_article_index: usizeImplementations§
Source§impl LauncherApp
impl LauncherApp
pub fn save_all_configs(&mut self)
pub fn load_music_configs(&mut self)
pub fn update_unified_operations(&mut self)
pub fn handle_task_event<T>(&mut self, event: TaskEvent<T>)
pub fn run_injector(&mut self)
Source§impl LauncherApp
impl LauncherApp
pub fn update_unified_operations_ui(&mut self)
pub fn render_page_content(&mut self, ui: &mut Ui)
pub fn render_operation_progress(&mut self, ui: &mut Ui)
pub fn show_news_window(&mut self, ctx: &Context)
Source§impl LauncherApp
impl LauncherApp
pub fn new(cc: &CreationContext<'_>, launcher_config: LauncherConfig) -> Self
Trait Implementations§
Source§impl App for LauncherApp
impl App for LauncherApp
Source§fn on_exit(&mut self, _gl: Option<&Context>)
fn on_exit(&mut self, _gl: Option<&Context>)
Called once on shutdown, after [
Self::save]. Read moreSource§fn ui(&mut self, ui: &mut Ui, _frame: &mut Frame)
fn ui(&mut self, ui: &mut Ui, _frame: &mut Frame)
Called each time the UI needs repainting, which may be many times per second. Read more
§fn logic(&mut self, ctx: &Context, frame: &mut Frame)
fn logic(&mut self, ctx: &Context, frame: &mut Frame)
Called once before each call to [
Self::ui],
and additionally also called when the UI is hidden, but [egui::Context::request_repaint] was called. Read more§fn save(&mut self, _storage: &mut dyn Storage)
fn save(&mut self, _storage: &mut dyn Storage)
Called on shutdown, and perhaps at regular intervals. Allows you to save state. Read more
§fn auto_save_interval(&self) -> Duration
fn auto_save_interval(&self) -> Duration
Time between automatic calls to [
Self::save]§fn clear_color(&self, _visuals: &Visuals) -> [f32; 4]
fn clear_color(&self, _visuals: &Visuals) -> [f32; 4]
Background color values for the app, e.g. what is sent to
gl.clearColor. Read more§fn persist_egui_memory(&self) -> bool
fn persist_egui_memory(&self) -> bool
Controls whether or not the egui memory (window positions etc) will be
persisted (only if the “persistence” feature is enabled).
§fn raw_input_hook(&mut self, _ctx: &Context, _raw_input: &mut RawInput)
fn raw_input_hook(&mut self, _ctx: &Context, _raw_input: &mut RawInput)
A hook for manipulating or filtering raw input before it is processed by [
Self::ui]. Read moreAuto Trait Implementations§
impl !Freeze for LauncherApp
impl !RefUnwindSafe for LauncherApp
impl Send for LauncherApp
impl !Sync for LauncherApp
impl Unpin for LauncherApp
impl UnsafeUnpin for LauncherApp
impl !UnwindSafe for LauncherApp
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more