Files
Neo ec93fc3379 initial commit - working code
new file:   .gitignore
	new file:   .idea/.gitignore
	new file:   .idea/Steamworks-Collection-Downloader.iml
	new file:   .idea/modules.xml
	new file:   .idea/vcs.xml
	new file:   downloader/downloadable.go
	new file:   downloader/downloader.go
	new file:   go.mod
	new file:   go.sum
	new file:   main.go
	new file:   manifest/entry.go
	new file:   manifest/manifest.go
	new file:   webapi/publishedFileDetailsResponse.go
2022-10-13 17:37:52 -07:00

20 lines
423 B
Go

package manifest
type Entry struct {
ID string
TimeCreated string
TimeUpdated string
HContentFile string
HContentFileSize string
HContentPreview string
HContentPreviewSize string
}
func (w Entry) FileNamePrefixed(prefix string) string {
return prefix + w.ID + ".vpk"
}
func (w Entry) PreviewFileNamePrefixed(prefix string) string {
return prefix + w.ID + ".jpg"
}