29 lines
899 B
Go
29 lines
899 B
Go
package combatturns
|
|
|
|
import "gitea.maximumdirect.net/eric/notarius/internal/modules/dnd/shared"
|
|
|
|
type extractionResponse struct {
|
|
CombatTurns []combatTurnResponse `json:"combat_turns"`
|
|
}
|
|
|
|
type combatTurnResponse struct {
|
|
Actor string `json:"actor"`
|
|
TurnKind string `json:"turn_kind"`
|
|
Round *int `json:"round"`
|
|
Actions []combatActionResponse `json:"actions"`
|
|
Summary string `json:"summary"`
|
|
SourceRefs []combatSourceRefResponse `json:"source_refs"`
|
|
}
|
|
|
|
type combatActionResponse struct {
|
|
Category string `json:"category"`
|
|
Declaration string `json:"declaration"`
|
|
Targets []string `json:"targets"`
|
|
Resolution *string `json:"resolution"`
|
|
}
|
|
|
|
type combatSourceRefResponse struct {
|
|
StartUnitID shared.UnitRef `json:"start_unit_id"`
|
|
EndUnitID shared.UnitRef `json:"end_unit_id"`
|
|
}
|