From b1355e96ddd9c6eb438b0b58bef53d21373a598c Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 11 Jan 2024 12:26:43 -0500 Subject: [PATCH] Add game stats to system data --- api/savedata-defs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/savedata-defs.go b/api/savedata-defs.go index 9d5ada3..b9c521b 100644 --- a/api/savedata-defs.go +++ b/api/savedata-defs.go @@ -4,6 +4,7 @@ type SystemSaveData struct { TrainerId int `json:"trainerId"` SecretId int `json:"secretId"` DexData DexData `json:"dexData"` + GameStats GameStats `json:"gameStats"` Unlocks Unlocks `json:"unlocks"` AchvUnlocks AchvUnlocks `json:"achvUnlocks"` VoucherUnlocks VoucherUnlocks `json:"voucherUnlocks"` @@ -25,6 +26,8 @@ type DexEntry struct { Ivs []int `json:"ivs"` } +type GameStats interface{} + type Unlocks map[int]bool type AchvUnlocks map[string]int