Struct sc2::LauncherSettings [−][src]
pub struct LauncherSettings { /* fields omitted */ }
Builder used to create launcher.
Methods
impl LauncherSettings
[src]
impl LauncherSettings
pub fn new() -> Self
[src]
pub fn new() -> Self
Create a new builder.
pub fn install_dir(self, dir: PathBuf) -> Self
[src]
pub fn install_dir(self, dir: PathBuf) -> Self
Set the StarCraft II installation directory.
auto-detect if not specified.
pub fn use_wine(self, flag: bool) -> Self
[src]
pub fn use_wine(self, flag: bool) -> Self
Use Wine to run the game - for unix users.
pub fn base_port(self, port: u16) -> Self
[src]
pub fn base_port(self, port: u16) -> Self
Set the starting point for game ports.
Auto Trait Implementations
impl Send for LauncherSettings
impl Send for LauncherSettings
impl Sync for LauncherSettings
impl Sync for LauncherSettings