Maps Data Model #233

Merged
Quaternions merged 2 commits from maps into staging 2025-07-15 04:37:21 +00:00

18
pkg/model/map.go Normal file
View File

@@ -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)
}