You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.9 KiB

package mihoyo
type GenshinDailyNote struct {
CurrentResin int `json:"current_resin"`
MaxResin int `json:"max_resin"`
ResinRecoveryTime string `json:"resin_recovery_time"`
FinishedTaskNum int `json:"finished_task_num"`
TotalTaskNum int `json:"total_task_num"`
IsExtraTaskRewardReceived bool `json:"is_extra_task_reward_received"`
RemainResinDiscountNum int `json:"remain_resin_discount_num"`
ResinDiscountNumLimit int `json:"resin_discount_num_limit"`
CurrentExpeditionNum int `json:"current_expedition_num"`
MaxExpeditionNum int `json:"max_expedition_num"`
Expeditions []GameRoleExpedition `json:"expeditions"`
CurrentHomeCoin int `json:"current_home_coin"`
MaxHomeCoin int `json:"max_home_coin"`
HomeCoinRecoveryTime string `json:"home_coin_recovery_time"`
CalendarUrl string `json:"calendar_url"`
Transformer TransformerInfo `json:"transformer"`
}
type GameRoleExpedition struct {
AvatarSideIconLink string `json:"avatar_side_icon"`
Status string `json:"status"`
RemainedTime string `json:"remained_time"`
}
type TransformerInfo struct {
Obtained bool `json:"obtained"`
RecTime TransformerRecTime `json:"recovery_time"`
Wiki string `json:"wiki"`
Noticed bool `json:"noticed"`
LatestJobId string `json:"latest_job_id"`
}
type TransformerRecTime struct {
Day int `json:"Day"`
Hour int `json:"Hour"`
Minute int `json:"Minute"`
Second int `json:"Second"`
Reached bool `json:"reached"`
}