55 lines
750 B
Go
55 lines
750 B
Go
package db
|
|
|
|
type CardDeck struct {
|
|
ID string
|
|
|
|
Name string
|
|
Type string
|
|
Description string
|
|
Img string
|
|
Folder string
|
|
Width int
|
|
Height int
|
|
Rotation int
|
|
Sort int
|
|
DisplayCount bool
|
|
Stats Stats
|
|
Ownership Ownership
|
|
Cards []Card
|
|
}
|
|
|
|
type Card struct {
|
|
ID string
|
|
|
|
Name string
|
|
Type string
|
|
Suit string
|
|
Description string
|
|
Origin string
|
|
Width int
|
|
Height int
|
|
Rotation int
|
|
Value int
|
|
Face int
|
|
Sort int
|
|
Drawn bool
|
|
Back Back
|
|
Stats Stats
|
|
Faces []Face
|
|
}
|
|
|
|
type Face struct {
|
|
ID uint
|
|
|
|
Name string
|
|
Img string
|
|
Text string
|
|
}
|
|
|
|
type Back struct {
|
|
ID uint
|
|
|
|
Name string
|
|
Text string
|
|
}
|