Implemented developer database downloads

This commit is contained in:
2019-09-07 19:56:13 +09:00
parent 59b9be5992
commit 4e6aa5eef6
33 changed files with 155 additions and 46 deletions

View File

@ -9,7 +9,7 @@ const DefaultInventorySlotCount = 24
// Inventory has inventory slots that store shop item IDs and their quantity.
type Inventory struct {
UserID UserID `json:"userId"`
UserID UserID `json:"userId" primary:"true"`
Slots []*InventorySlot `json:"slots"`
}