diff --git a/pkg/model/map.go b/pkg/model/map.go new file mode 100644 index 0000000..314b678 --- /dev/null +++ b/pkg/model/map.go @@ -0,0 +1,18 @@ +package model + +import "time" + +type Map struct { + ID int64 + DisplayName string + Creator string + GameID int32 + Date time.Time // Release date + CreatedAt time.Time + UpdatedAt time.Time + Submitter int64 // UserID of submitter + Thumbnail int64 // AssetID of thumbnail + AssetVersion int64 // Version number for LoadAssetVersion + LoadCount uint32 // How many times the map has been loaded + Modes uint32 // Number of modes (always at least one) +}