1 #ifndef CORE_MAPS_CATCHREGION_HPP
2 #define CORE_MAPS_CATCHREGION_HPP
20 std::vector<pplmn::WildPeoplemon>
wilds;
39 struct SerializableObject<
core::map::CatchRegion> :
public SerializableObjectBase {
43 SerializableField<1, Region, std::string>
name;
44 SerializableField<2, Region, std::vector<Wild>>
wilds;
47 : SerializableObjectBase(
"CatchRegion")
48 , name(
"name", *this, &
Region::name, SerializableFieldBase::Required{})
49 , wilds(
"wilds", *this, &
Region::wilds, SerializableFieldBase::Required{}) {}
Core classes and functionality for both the editor and game.
Represents a class of catchable peoplemon.
const pplmn::WildPeoplemon & selectWild() const
Selects a wild peoplemon from the set based on frequency, or returns a level 100 Ben if the set is em...
std::vector< pplmn::WildPeoplemon > wilds
SerializableField< 2, Region, std::vector< Wild > > wilds
SerializableField< 1, Region, std::string > name
Template struct to generate OwnedPeoplemon for random encounters.