Documentation
¶
Index ¶
- Constants
- type AchvUnlocks
- type ArenaData
- type BattleType
- type DailyRanking
- type DexData
- type DexEntry
- type EggData
- type GachaType
- type GameMode
- type GameStats
- type PersistentModifierData
- type PokeballCounts
- type PokemonData
- type SessionHistoryData
- type SessionHistoryResult
- type SessionSaveData
- type StarterData
- type StarterEggMoveData
- type StarterEntry
- type StarterMoveData
- type SystemSaveData
- type TitleStats
- type TrainerData
- type Unlocks
- type VoucherCounts
- type VoucherUnlocks
Constants ¶
View Source
const SessionSlotCount = 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AchvUnlocks ¶
type BattleType ¶
type BattleType int
type DailyRanking ¶
type DexEntry ¶
type DexEntry struct {
SeenAttr interface{} `json:"seenAttr"` // integer or string
CaughtAttr interface{} `json:"caughtAttr"` // integer or string
NatureAttr int `json:"natureAttr"`
SeenCount int `json:"seenCount"`
CaughtCount int `json:"caughtCount"`
HatchedCount int `json:"hatchedCount"`
Ivs []int `json:"ivs"`
}
type PersistentModifierData ¶
type PersistentModifierData interface{}
type PokeballCounts ¶
type PokemonData ¶
type PokemonData interface{}
type SessionHistoryData ¶
type SessionHistoryData struct {
Seed string `json:"seed"`
PlayTime int `json:"playTime"`
Result SessionHistoryResult `json:"sessionHistoryResult"`
GameMode GameMode `json:"gameMode"`
Party []PokemonData `json:"party"`
Modifiers []PersistentModifierData `json:"modifiers"`
Money int `json:"money"`
Score int `json:"score"`
WaveIndex int `json:"waveIndex"`
BattleType BattleType `json:"battleType"`
GameVersion string `json:"gameVersion"`
Timestamp int `json:"timestamp"`
}
type SessionHistoryResult ¶
type SessionHistoryResult int
type SessionSaveData ¶
type SessionSaveData struct {
Seed string `json:"seed"`
PlayTime int `json:"playTime"`
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"`
Score int `json:"score"`
VictoryCount int `json:"victoryCount"`
FaintCount int `json:"faintCount"`
ReviveCount int `json:"reviveCount"`
WaveIndex int `json:"waveIndex"`
BattleType BattleType `json:"battleType"`
Trainer TrainerData `json:"trainer"`
GameVersion string `json:"gameVersion"`
Timestamp int `json:"timestamp"`
}
type StarterData ¶
type StarterData map[int]StarterEntry
type StarterEggMoveData ¶
type StarterEntry ¶
type StarterMoveData ¶
type StarterMoveData map[int]interface{}
type SystemSaveData ¶
type SystemSaveData struct {
TrainerId int `json:"trainerId"`
SecretId int `json:"secretId"`
Gender int `json:"gender"`
DexData DexData `json:"dexData"`
StarterData StarterData `json:"starterData"`
StarterMoveData StarterMoveData `json:"starterMoveData"` // Legacy
StarterEggMoveData StarterEggMoveData `json:"starterEggMoveData"` // Legacy
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 TitleStats ¶
type TrainerData ¶
type TrainerData interface{}
type VoucherCounts ¶
type VoucherUnlocks ¶
Click to show internal directories.
Click to hide internal directories.