diff options
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 { |
