Struct sc2::LauncherSettings [−][src]
pub struct LauncherSettings { /* fields omitted */ }Builder used to create launcher.
Methods
impl LauncherSettings[src]
impl LauncherSettingspub fn new() -> Self[src]
pub fn new() -> SelfCreate a new builder.
pub fn install_dir(self, dir: PathBuf) -> Self[src]
pub fn install_dir(self, dir: PathBuf) -> SelfSet 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) -> SelfUse Wine to run the game - for unix users.
pub fn base_port(self, port: u16) -> Self[src]
pub fn base_port(self, port: u16) -> SelfSet the starting point for game ports.
Auto Trait Implementations
impl Send for LauncherSettings
impl Send for LauncherSettingsimpl Sync for LauncherSettings
impl Sync for LauncherSettings