package api type SystemSaveData struct { TrainerId int `json:"trainerId"` SecretId int `json:"secretId"` DexData DexData `json:"dexData"` 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 type DexEntry struct { SeenAttr interface{} `json:"seenAttr"` // integer or string CaughtAttr interface{} `json:"caughtAttr"` // integer or string SeenCount int `json:"seenCount"` CaughtCount int `json:"caughtCount"` HatchedCount int `json:"hatchedCount"` Ivs []int `json:"ivs"` } type Unlocks map[int]bool type AchvUnlocks map[string]int type VoucherUnlocks map[string]int type VoucherCounts map[string]int type EggData struct { Id int `json:"id"` GachaType GachaType `json:"gachaType"` HatchWaves int `json:"hatchWaves"` Timestamp int `json:"timestamp"` } type GachaType int type SessionSaveData struct { Seed string `json:"seed"` GameMode GameMode `json:"gameMode"` Party []PokemonData `json:"party"` EnemyParty []PokemonData `json:"enemyParty"` Modifiers []PersistentModifierData `json:"modifiers"` EnemyModifiers []PersistentModifierData `json:"enemyModifiers"` Arena ArenaData `json:"arena"` PokeballCounts PokeballCounts `json:"pokeballCounts"` Money int `json:"money"` WaveIndex int `json:"waveIndex"` BattleType BattleType `json:"battleType"` Trainer TrainerData `json:"trainer"` GameVersion string `json:"gameVersion"` Timestamp int `json:"timestamp"` } type GameMode int type PokemonData interface{} type PersistentModifierData interface{} type ArenaData interface{} type PokeballCounts map[string]int type BattleType int type TrainerData interface{}