Enum LauncherState
Defines the possible states of the launcher's main action button and overall UI.
public enum LauncherState
Fields
ApplyingPatch = 5The launcher is applying a downloaded patch.
Cancelled = 16The player cancelled a version check or a patch download.
Distinct from the failure states even though the recovery is identical, because the launcher logs error states at
Errorand reports them as something that went wrong. A cancellation is neither — treating it as a failure would fill the log with errors describing the player doing exactly what the button offered, and tell them something had gone wrong when nothing had.CheckingVersion = 2The launcher is checking the client version against the server.
ClientAhead = 7The client version is ahead of the server version.
Connecting = 1The launcher is connecting to the server.
ConnectionFailed = 8The launcher failed to connect to the server.
DownloadingPatch = 4The launcher is downloading a patch.
LaunchFailed = 12The launcher failed to launch the game client.
LoadingNews = 0The launcher is loading news content.
PatchDownloadFailed = 10The launcher failed to download the patch.
The client is out of date but the server has no patch that upgrades from the client's specific version to the latest. Retrying the download cannot succeed; the player needs a full reinstall.
ReadyToPlay = 6The launcher is ready for the user to play.
ServerRejectedVersion = 15The game server rejected the client because its game version does not match the server's expected version. The client must be updated (or downgraded).
UpdateAvailable = 3An update exists and is waiting for the player to start it.
Only reachable when AutoUpdate is off. With it on — the default, and how the launcher has always behaved — an out-of-date client goes straight to DownloadingPatch without stopping here.
UpdaterFailed = 11The updater process failed.
VersionCheckFailed = 9The launcher failed to check the client version.
VersionError = 14There was an error with the client or server version.