snow/person/snapshot.go

53 lines
1.2 KiB
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
2024-02-19 01:49:14 +00:00
RefundTickets int
2024-02-10 00:34:12 +00:00
Permissions int64
AthenaProfile ProfileSnapshot
CommonCoreProfile ProfileSnapshot
CommonPublicProfile ProfileSnapshot
Profile0Profile ProfileSnapshot
CollectionsProfile ProfileSnapshot
2023-12-08 15:35:00 +00:00
CreativeProfile ProfileSnapshot
2024-02-04 15:21:16 +00:00
BanHistory []storage.DB_BanStatus
Discord storage.DB_DiscordPerson
2024-02-19 01:49:14 +00:00
Relationships map[string]*Relationship
Parties map[string]*Party
Invites map[string]*PartyInvite
Intentions map[string]*PartyIntention
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
}