Skip to content

GameVersionDTO

GameVersionDTO describes an installed game version for library display.

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 the version supports.
ArchitecturearchitecturestringstringNoNo
InstallationDirinstallationDirstringstringNoNoInstallationDir is the version directory relative to the launcher data root.
ExecutablePathexecutablePathstringstringNoNoExecutablePath is the game executable used to launch this version.
StatusstatusstringstringNoNoStatus reports whether the version is installed or imported.
SizeBytessizeBytesint64numberNoNoSizeBytes is the on-disk installation size.
InstalledAtinstalledAtstringstringNoNoInstalledAt is the timestamp of the installation.

Used by

Source

internal/transport/wails/dto.go:77