Files
rpdata2/tag/tag.go
T
2023-06-27 09:48:33 +02:00

47 lines
1015 B
Go

package tag
type Tag struct {
ID string `json:"id"`
ParentID *string `json:"parentId"`
OwnerID string `json:"ownerId"` // The user who can change the tag
Name string `json:"name"`
Kind Kind `json:"kind"`
Description string `json:"description"`
Listed bool `json:"listed"` // Whether to list it for search
Secret bool `json:"secret"` // Only owners can see it
}
type Kind int
const (
// TKOrganization is an organization, faction or group
TKOrganization = 1 << iota
// TKLocation is a settlement, building, planet, etc.... Icon: Pin
TKLocation
// TKEvent is a specific event
TKEvent
// TKPlot is a larger plot
TKPlot
// TKSeries is a thread of content that's not exactly a plot/event
TKSeries
)
/*
L Aite
L Freedom Falls
LO Miner's Respite
L Derrai Union
L Derrai
L Aroste
L Aroste
P "The Collectors"
P "Rellis Stuff"
E Rellis' Contract
E Familial Ties
E Skipping Work
E Sala's Backlog
S Anywhere but Here
*/