snow/person/snapshot.go
eccentric f4fa7866fd Update profiles to add MultiUpdates and Notifications;
Add purchasing form storefront!
2023-12-03 20:16:40 +00:00

42 lines
871 B
Go

package person
type PersonSnapshot struct {
ID string
DisplayName string
AthenaProfile ProfileSnapshot
CommonCoreProfile ProfileSnapshot
CommonPublicProfile ProfileSnapshot
Profile0Profile ProfileSnapshot
CollectionsProfile ProfileSnapshot
}
type ProfileSnapshot struct {
ID string
Items map[string]ItemSnapshot
Gifts map[string]GiftSnapshot
Quests map[string]Quest
Attributes map[string]Attribute
Loadouts map[string]Loadout
Revision int
Type string
}
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
}