Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CastingDamage ¶
type SpellClient ¶
type SpellClient interface { GetList() (*api.ListResponse, error) QueryList(query map[string]string) (*api.ListResponse, error) GetByIndex(index string) (*SpellDetail, error) }
func NewClient ¶
func NewClient(basicsProvider api.BasicsProvider) SpellClient
type SpellDetail ¶
type SpellDetail struct { Index string `json:"index"` Name string `json:"name"` Url string `json:"url"` Description []string `json:"desc"` HigherLevel []string `json:"higher_level"` Components []string `json:"components"` Range string `json:"range"` Material string `json:"material"` Ritual bool `json:"ritual"` Duration string `json:"duration"` Concentration bool `json:"concentration"` CastingTime string `json:"casting_time"` Level int `json:"level"` AttackType string `json:"attack_type"` Damage CastingDamage `json:"damage"` School api.Ref `json:"school"` Classes []api.Ref `json:"classes"` Subclasses []api.Ref `json:"subclasses"` }
Click to show internal directories.
Click to hide internal directories.