Table of Contents

Enum LauncherState

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

Defines the possible states of the launcher's main action button and overall UI.

public enum LauncherState

Fields

ApplyingPatch = 5

The launcher is applying a downloaded patch.

Cancelled = 16

The 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 Error and 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 = 2

The launcher is checking the client version against the server.

ClientAhead = 7

The client version is ahead of the server version.

Connecting = 1

The launcher is connecting to the server.

ConnectionFailed = 8

The launcher failed to connect to the server.

DownloadingPatch = 4

The launcher is downloading a patch.

LaunchFailed = 12

The launcher failed to launch the game client.

LoadingNews = 0

The launcher is loading news content.

PatchDownloadFailed = 10

The launcher failed to download the patch.

PatchUnavailable = 13

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 = 6

The launcher is ready for the user to play.

ServerRejectedVersion = 15

The 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 = 3

An 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 = 11

The updater process failed.

VersionCheckFailed = 9

The launcher failed to check the client version.

VersionError = 14

There was an error with the client or server version.