2023-10-31 22:40:14 +00:00
|
|
|
package person
|
|
|
|
|
2023-12-10 00:52:59 +00:00
|
|
|
import "github.com/ectrc/snow/storage"
|
|
|
|
|
2023-11-01 00:05:17 +00:00
|
|
|
type PersonSnapshot struct {
|
2023-11-06 22:41:52 +00:00
|
|
|
ID string
|
|
|
|
DisplayName string
|
2024-02-19 01:49:14 +00:00
|
|
|
RefundTickets int
|
2024-02-10 00:34:12 +00:00
|
|
|
Permissions int64
|
2023-11-06 22:41:52 +00:00
|
|
|
AthenaProfile ProfileSnapshot
|
|
|
|
CommonCoreProfile ProfileSnapshot
|
|
|
|
CommonPublicProfile ProfileSnapshot
|
|
|
|
Profile0Profile ProfileSnapshot
|
2023-12-03 20:16:40 +00:00
|
|
|
CollectionsProfile ProfileSnapshot
|
2023-12-08 15:35:00 +00:00
|
|
|
CreativeProfile ProfileSnapshot
|
2024-03-10 18:16:42 +00:00
|
|
|
CurrentSeasonStats SeasonStats
|
|
|
|
AllSeasonsStats []SeasonStats
|
|
|
|
Receipts []storage.DB_Receipt
|
2024-02-04 15:21:16 +00:00
|
|
|
BanHistory []storage.DB_BanStatus
|
2023-12-10 00:52:59 +00:00
|
|
|
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
|
2024-03-10 18:16:42 +00:00
|
|
|
Variants map[string]VariantChannel
|
2023-10-31 22:40:14 +00:00
|
|
|
Quests map[string]Quest
|
2023-11-01 00:05:17 +00:00
|
|
|
Attributes map[string]Attribute
|
2023-11-20 21:20:26 +00:00
|
|
|
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
|
|
|
|
}
|