Add support for egg moves data

pull/1/head
Flashfyre 10 months ago
parent 7d962ae838
commit 2938dbc19d

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

Loading…
Cancel
Save