AvailableGameVersionDTO
AvailableGameVersionDTO describes a downloadable game release for version selection.
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 this release provides. |
Architecture | architecture | string | string | No | No | |
DownloadSize | downloadSize | int64 | number | No | No | DownloadSize is the expected archive size in bytes. |
Latest | latest | bool | boolean | No | No | Latest reports whether this is the newest release of its channel. |
Installed | installed | bool | boolean | No | No | Installed reports whether this exact release is already present. |
InstallStatus | installStatus | *string | string | null | Yes | Yes | InstallStatus carries the reason when the release cannot be installed. |
Used by
- GameVersionController.ListAvailableVersions — return value
Source
internal/transport/wails/dto.go:113