tallgrass/client/encounter_condition

Functions

pub fn fetch_by_id(id: Int) -> Result(EncounterCondition, Error)

Fetches an encounter condition by the condition ID.

Example

let result = encounter_condition.fetch_by_id(1)
pub fn fetch_by_name(
  name: String,
) -> Result(EncounterCondition, Error)

Fetches an encounter condition by the condition name.

Example

let result = encounter_condition.fetch_by_name("swarm")
Search Document