class

Launcher::App::WizardState

Inherits Reference < Object

Wizard state: the Egui::Wizard component (step chrome and navigation) plus the data the step bodies rebuild from every frame: the fork choice (register an existing folder vs assemble from scratch) with its path, the three scratch paths, the modified-game compat mode and the current validation error. failed flags the last Install run so the custom Install button keeps the window open on failure. For a modified game game is the picked mode's base game and gets swapped when the selectbox changes.

Constructors

new(game : Launcher::Catalog::Game, engine : String, source : String, mod : Bool = false)
Source

Instance methods

engine
Source
engine=(engine : String)
Source
error
Source
error=(error : String | Nil)
Source
existing=(existing : Bool)
Source
existing?
Source
existing_dir
Source
existing_dir=(existing_dir : String)
Source
failed=(failed : Bool)
Source
failed?
Source
game
Source
game=(game : Catalog::Game)
Source
get(field : Symbol) : String
Source
mod=(mod : Bool)
Source
mod?
Source
set(field : Symbol, value : String) : Nil
Source
source
Source
source=(source : String)
Source
target
Source
target=(target : String)
Source
wizard

Late-init: the wizard is built right after the state exists (step bodies and gates close over the state), by open_wizard.

Source
wizard=(wizard : Egui::Wizard)

Late-init: the wizard is built right after the state exists (step bodies and gates close over the state), by open_wizard.

Source
wizard?

Late-init: the wizard is built right after the state exists (step bodies and gates close over the state), by open_wizard.

Source