Table of Contents

Class LaunchUrls

Namespace
BSGameLib.Game.Launch
Assembly
BSGameLib.Game.dll

Starting a game by a link: what a game's entry point calls before anything else.

public static class LaunchUrls
Inheritance
LaunchUrls
Inherited Members

Methods

ForwardToRunningCopy(LaunchUrlOptions, IEnumerable<string>)

When this copy was started with a link and another copy of the game is running, hands the link to it and returns true: the caller should then exit, before opening a window. False otherwise, including when there is no link, so a copy started without one never defers to another and several can still run side by side.

public static bool ForwardToRunningCopy(LaunchUrlOptions options, IEnumerable<string> arguments)

Parameters

options LaunchUrlOptions
arguments IEnumerable<string>

Returns

bool

FromArguments(string, IEnumerable<string>)

The arguments that are URLs with the scheme; Windows and Linux pass the link as one.

public static IEnumerable<string> FromArguments(string scheme, IEnumerable<string> arguments)

Parameters

scheme string
arguments IEnumerable<string>

Returns

IEnumerable<string>