snow/person/snapshot.go

46 lines
994 B
Go
Raw Normal View History

2023-10-31 22:40:14 +00:00
package person
import "github.com/ectrc/snow/storage"
2023-11-01 00:05:17 +00:00
type PersonSnapshot struct {
ID string
DisplayName string
AthenaProfile ProfileSnapshot
CommonCoreProfile ProfileSnapshot
CommonPublicProfile ProfileSnapshot
Profile0Profile ProfileSnapshot
CollectionsProfile ProfileSnapshot
2023-12-08 15:35:00 +00:00
CreativeProfile ProfileSnapshot
Discord storage.DB_DiscordPerson
2023-11-01 00:05:17 +00:00
}
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
Loadouts map[string]Loadout
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
}