GameVersionDTO
GameVersionDTO describes an installed game version for library display.
Kind
struct
Fields
| Go field | JSON field | Go type | TypeScript type | Optional | Nullable | Description |
|---|---|---|---|---|---|---|
ID | id | string | string | No | No | |
Name | name | string | string | No | No | |
Channel | channel | string | string | No | No | Channel is the release channel, such as stable or prerelease. |
Platform | platform | string | string | No | No | Platform and Architecture identify the build the version supports. |
Architecture | architecture | string | string | No | No | |
InstallationDir | installationDir | string | string | No | No | InstallationDir is the version directory relative to the launcher data root. |
ExecutablePath | executablePath | string | string | No | No | ExecutablePath is the game executable used to launch this version. |
Status | status | string | string | No | No | Status reports whether the version is installed or imported. |
SizeBytes | sizeBytes | int64 | number | No | No | SizeBytes is the on-disk installation size. |
InstalledAt | installedAt | string | string | No | No | InstalledAt is the timestamp of the installation. |
Used by
- GameVersionController.ListInstalledVersions — return value
Source
internal/transport/wails/dto.go:77