37 lines
713 B
Go
37 lines
713 B
Go
package person
|
|
|
|
type PersonSnapshot struct {
|
|
ID string
|
|
DisplayName string
|
|
AthenaProfile ProfileSnapshot
|
|
CommonCoreProfile ProfileSnapshot
|
|
Loadout Loadout
|
|
}
|
|
|
|
type ProfileSnapshot struct {
|
|
ID string
|
|
Items map[string]ItemSnapshot
|
|
Gifts map[string]GiftSnapshot
|
|
Quests map[string]Quest
|
|
Attributes map[string]Attribute
|
|
}
|
|
|
|
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
|
|
} |