Add grounded NPC interaction extractor
This commit is contained in:
16
internal/modules/dnd/extract/npcinteractions/model.go
Normal file
16
internal/modules/dnd/extract/npcinteractions/model.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package npcinteractions
|
||||
|
||||
type extractionResponse struct {
|
||||
Interactions []interactionResponse `json:"interactions"`
|
||||
}
|
||||
|
||||
type interactionResponse struct {
|
||||
Name string `json:"name"`
|
||||
Kind string `json:"kind"`
|
||||
SourceRefs []interactionSourceRefResponse `json:"source_refs"`
|
||||
}
|
||||
|
||||
type interactionSourceRefResponse struct {
|
||||
StartUnitID int `json:"start_unit_id"`
|
||||
EndUnitID int `json:"end_unit_id"`
|
||||
}
|
||||
Reference in New Issue
Block a user