Skip to content

AvailableGameVersionDTO

AvailableGameVersionDTO describes a downloadable game release for version selection.

Kind

struct

Fields

Go fieldJSON fieldGo typeTypeScript typeOptionalNullableDescription
IDidstringstringNoNo
NamenamestringstringNoNo
ChannelchannelstringstringNoNoChannel is the release channel, such as stable or prerelease.
PlatformplatformstringstringNoNoPlatform and Architecture identify the build this release provides.
ArchitecturearchitecturestringstringNoNo
DownloadSizedownloadSizeint64numberNoNoDownloadSize is the expected archive size in bytes.
LatestlatestboolbooleanNoNoLatest reports whether this is the newest release of its channel.
InstalledinstalledboolbooleanNoNoInstalled reports whether this exact release is already present.
InstallStatusinstallStatus*stringstring | nullYesYesInstallStatus carries the reason when the release cannot be installed.

Used by

Source

internal/transport/wails/dto.go:113