rustemon 3.0.0

Library wrapping the awesome PokeAPI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Encounters endpoints group

/// Methods by which the player might can encounter Pokémon in the wild, e.g., walking in tall grass.
/// Check out [Bulbapedia](http:///bulbapedia.bulbagarden.net/wiki/Wild_Pokémon) for greater detail.
pub mod encounter_method {
    crate::endpoint!(crate::model::encounters::EncounterMethod; for "encounter-method");
}

/// Conditions which affect what pokemon might appear in the wild, e.g., day or night.
pub mod encounter_condition {
    crate::endpoint!(crate::model::encounters::EncounterCondition; for "encounter-condition");
}

/// Encounter condition values are the various states that an encounter condition can have,
/// i.e., time of day can be either day or night.
pub mod encounter_condition_value {
    crate::endpoint!(crate::model::encounters::EncounterConditionValue; for "encounter-condition-value");
}