From 06ade19e2c89d500a503ad76fb326d5d4c8e300b Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 21 Feb 2024 00:38:25 -0500 Subject: [PATCH] Add starter move data to system save data spec --- api/savedata-defs.go | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/api/savedata-defs.go b/api/savedata-defs.go index f496735..0d24a4c 100644 --- a/api/savedata-defs.go +++ b/api/savedata-defs.go @@ -1,18 +1,19 @@ package api type SystemSaveData struct { - TrainerId int `json:"trainerId"` - SecretId int `json:"secretId"` - Gender int `json:"gender"` - DexData DexData `json:"dexData"` - 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"` + 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 @@ -27,6 +28,8 @@ type DexEntry struct { Ivs []int `json:"ivs"` } +type StarterMoveData map[int]interface{} + type GameStats interface{} type Unlocks map[int]bool