From e5ebd1894c6e76f3fc644402cdb2af0693147396 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Wed, 7 Oct 2026 13:13:30 -0400 Subject: [PATCH] umadump/ism: new reward summary fields --- umadump/ism/ism.go | 75 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 74 insertions(+), 1 deletion(-) diff --git a/umadump/ism/ism.go b/umadump/ism/ism.go index 3f619c6..eae1509 100644 --- a/umadump/ism/ism.go +++ b/umadump/ism/ism.go @@ -225,8 +225,81 @@ type AddItem struct { Number int32 `json:"number"` } +type PieceData struct { + PieceID int32 `json:"piece_id"` + PieceNum int32 `json:"piece_num"` +} + +type UserCard struct { + CardID horse.UmaID `json:"card_id"` + Rarity int8 `json:"rarity"` + TalentLevel int8 `json:"talent_level"` + Skills []Skill `json:"skill_data_array"` + CreateTime string `json:"create_time"` +} + +type UserSupportCard struct { + ViewerID int64 `json:"viewer_id"` + SupportCardID horse.SupportCardID `json:"support_card_id"` + Exp int32 `json:"exp"` + LimitBreak int32 `json:"limit_break_count"` + FavoriteFlag int32 `json:"favorite_flag"` + Stock int32 `json:"stock"` + PossessTime string `json:"possess_time"` +} + +type RewardAddSupportCardNum struct { + SupportCardID horse.SupportCardID `json:"support_card_id"` + Number int32 `json:"number"` + ItemType int32 `json:"item_type"` +} + +type HonorData struct { + HonorID int32 `json:"honor_id"` + Step int32 `json:"step"` + CreateTime string `json:"create_time"` +} + +type UserChara struct { + CharaID horse.CharacterID `json:"chara_id"` + TrainingNum int32 `json:"training_num"` + LovePoint int32 `json:"love_point"` + LovePointPool int32 `json:"love_point_pool"` + Fan uint64 `json:"fan"` +} + +type UserCloth struct { + ClothID int32 `json:"cloth_id"` +} + +type UserMusic struct { + MusicID int32 `json:"music_id"` + AcquisitionTime string `json:"acquisition_time"` +} + +type CharaProfileData struct { + CharaID horse.CharacterID `json:"chara_id"` + DataID int32 `json:"data_id"` + NewFlag int32 `json:"new_flag"` +} + type RewardSummary struct { - AddItem []AddItem `json:"add_item_list"` + AddItem []AddItem `json:"add_item_list"` + AddPiece []PieceData `json:"add_piece_list"` + AddCard []UserCard `json:"add_card_list"` + AddCardBonus *RewardSummary `json:"add_card_bonus_info"` + AddSupportCard []UserSupportCard `json:"add_support_card_list"` + AddSupportCardNum []RewardAddSupportCardNum `json:"add_support_card_num_array"` + AddHonor []HonorData `json:"add_honor_list"` + AddChara []UserChara `json:"add_chara_list"` + AddCloth []UserCloth `json:"add_cloth_list"` + AddMusic []UserMusic `json:"add_music_list"` + AddStoryIDs []any `json:"add_story_id_array"` // not in my disassembly + AddFCoin int32 `json:"add_fcoin"` // carats + AddPresents int32 `json:"add_present_num"` + AddTotalFan int32 `json:"add_total_fan"` + NewCharaProfiles []CharaProfileData `json:"new_chara_profile_array"` + ForceUpdateHonorID int32 `json:"force_update_honor_id"` } type End struct {