Struct sc2::LauncherCell
[−]
[src]
pub struct LauncherCell { /* fields omitted */ }
cell in charge of launching game instances and assigning ports
Methods
impl LauncherCell
[src]
fn from(settings: LauncherSettings) -> Result<Self>
[src]
create a launcher from settings
fn create_game_ports(&mut self) -> GamePorts
[src]
create a set of ports for multiplayer games
Trait Implementations
impl Cell for LauncherCell
[src]
type Message = Message
user-defined message to be passed between cells
type Role = Role
user-defined roles for connections
fn update(self, msg: Protocol<Self::Message, Self::Role>) -> Result<Self>
[src]
apply any changes to the cell's state as a result of _msg
fn run(self) -> Result<(), Error>
[src]
spin up an event loop and run cell