![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Template struct to generate OwnedPeoplemon for random encounters. More...
#include <WildPeoplemon.hpp>
Public Member Functions | |
OwnedPeoplemon | generate () const |
Generate an OwnedPeoplemon from the template. More... | |
Public Attributes | |
Id | id |
The type of peoplemon to generate. More... | |
std::uint8_t | minLevel |
The minimum level that may spawn, inclusive. More... | |
std::uint8_t | maxLevel |
The maximum level that may spawn, inclusive. More... | |
std::uint16_t | frequency |
Frequency of spawns relative to other wild peoplemon in the region. More... | |
Template struct to generate OwnedPeoplemon for random encounters.
Definition at line 18 of file WildPeoplemon.hpp.
OwnedPeoplemon core::pplmn::WildPeoplemon::generate | ( | ) | const |
Generate an OwnedPeoplemon from the template.
Definition at line 10 of file WildPeoplemon.cpp.
std::uint16_t core::pplmn::WildPeoplemon::frequency |
Frequency of spawns relative to other wild peoplemon in the region.
Definition at line 29 of file WildPeoplemon.hpp.
Id core::pplmn::WildPeoplemon::id |
The type of peoplemon to generate.
Definition at line 20 of file WildPeoplemon.hpp.
std::uint8_t core::pplmn::WildPeoplemon::maxLevel |
The maximum level that may spawn, inclusive.
Definition at line 26 of file WildPeoplemon.hpp.
std::uint8_t core::pplmn::WildPeoplemon::minLevel |
The minimum level that may spawn, inclusive.
Definition at line 23 of file WildPeoplemon.hpp.