snow/person/snapshot.go

38 lines
721 B
Go
Raw Normal View History

2023-10-31 22:40:14 +00:00
package person
2023-11-01 00:05:17 +00:00
type PersonSnapshot struct {
ID string
DisplayName string
AthenaProfile ProfileSnapshot
CommonCoreProfile ProfileSnapshot
}
2023-10-31 22:40:14 +00:00
type ProfileSnapshot struct {
ID string
Items map[string]ItemSnapshot
Gifts map[string]GiftSnapshot
Quests map[string]Quest
2023-11-01 00:05:17 +00:00
Attributes map[string]Attribute
2023-11-01 01:24:42 +00:00
Revision int
Type string
2023-10-31 22:40:14 +00:00
}
type ItemSnapshot struct {
ID string
TemplateID string
Quantity int
Favorite bool
HasSeen bool
Variants []VariantChannel
ProfileType string
}
type GiftSnapshot struct {
ID string
TemplateID string
Quantity int
FromID string
GiftedAt int64
Message string
Loot []Item
}