diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-20 00:35:09 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-20 00:35:09 -0500 |
| commit | f07efbb6fc7a63055a8424799ce03a5f37539873 (patch) | |
| tree | ff5983b2cae4cc9b8f2f346a47cb3eb23b2f79ae /steam/game.go | |
| parent | cbfd82db8a20be32ffa82a1afa860729f3097de6 (diff) | |
| download | steam-export-f07efbb6fc7a63055a8424799ce03a5f37539873.tar.gz steam-export-f07efbb6fc7a63055a8424799ce03a5f37539873.tar.xz | |
wipdev-wip
Diffstat (limited to 'steam/game.go')
| -rw-r--r-- | steam/game.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/steam/game.go b/steam/game.go index dd4a297..8c387d2 100644 --- a/steam/game.go +++ b/steam/game.go @@ -5,6 +5,14 @@ import ( "path/filepath" ) +// Game represents an actual game in the steam Library. The purpose is only +// to provide info on a game. +type Game struct { + Name string `json:"Name" example:"Doom"` + LibraryPath string `json:"LibraryPath" example:"C:\\Program Files (x86)\\Steam\\steamapps"` + Size int64 `json:"Size" example:"12345"` +} + // GetSizeBytes returns the size in bytes, calling SetSizeInfo info Size is // currently == 0 func (g *Game) GetSizeBytes() int64 { |
