35 lines
576 B
Go
35 lines
576 B
Go
package db
|
|
|
|
type Combat struct {
|
|
ID string
|
|
|
|
Type string
|
|
Scene string
|
|
Round int
|
|
Turn int
|
|
Sort int
|
|
Active bool
|
|
Stats Stats
|
|
Groups []string
|
|
Combatants []Combatant
|
|
// System any `json:"system"`
|
|
// Flags any `json:"flags"`
|
|
}
|
|
|
|
type Combatant struct {
|
|
ID string
|
|
|
|
TokenId string
|
|
SceneId string
|
|
ActorId string
|
|
Type string
|
|
Img string
|
|
Group string
|
|
Initiative int
|
|
Hidden bool
|
|
Defeated bool
|
|
Stats Stats
|
|
// System any `json:"system"`
|
|
// Flags any `json:"flags"`
|
|
}
|