diff --git a/api/savedata-defs.go b/api/savedata-defs.go index 0d24a4c..be8dbcc 100644 --- a/api/savedata-defs.go +++ b/api/savedata-defs.go @@ -1,19 +1,20 @@ package api type SystemSaveData struct { - TrainerId int `json:"trainerId"` - SecretId int `json:"secretId"` - Gender int `json:"gender"` - DexData DexData `json:"dexData"` - StarterMoveData StarterMoveData `json:"starterMoveData"` - GameStats GameStats `json:"gameStats"` - Unlocks Unlocks `json:"unlocks"` - AchvUnlocks AchvUnlocks `json:"achvUnlocks"` - VoucherUnlocks VoucherUnlocks `json:"voucherUnlocks"` - VoucherCounts VoucherCounts `json:"voucherCounts"` - Eggs []EggData `json:"eggs"` - GameVersion string `json:"gameVersion"` - Timestamp int `json:"timestamp"` + TrainerId int `json:"trainerId"` + SecretId int `json:"secretId"` + Gender int `json:"gender"` + DexData DexData `json:"dexData"` + StarterMoveData StarterMoveData `json:"starterMoveData"` + StarterEggMoveData StarterEggMoveData `json:"starterEggMoveData"` + GameStats GameStats `json:"gameStats"` + Unlocks Unlocks `json:"unlocks"` + AchvUnlocks AchvUnlocks `json:"achvUnlocks"` + VoucherUnlocks VoucherUnlocks `json:"voucherUnlocks"` + VoucherCounts VoucherCounts `json:"voucherCounts"` + Eggs []EggData `json:"eggs"` + GameVersion string `json:"gameVersion"` + Timestamp int `json:"timestamp"` } type DexData map[int]DexEntry @@ -30,6 +31,8 @@ type DexEntry struct { type StarterMoveData map[int]interface{} +type StarterEggMoveData map[int]int + type GameStats interface{} type Unlocks map[int]bool