1 #ifndef CORE_PLAYER_PEOPLEDEX_HPP
2 #define CORE_PLAYER_PEOPLEDEX_HPP
6 #include <unordered_map>
78 std::unordered_map<pplmn::Id, std::uint32_t> seenCounts;
79 std::unordered_map<pplmn::Id, std::string> firstSawLocations;
Core classes and functionality for both the editor and game.
Maintains the information required to populate the peopledex.
void registerSighting(pplmn::Id peoplemon, const std::string &location)
Registers a sighting of the given peoplemon at the given location.
const std::string & getFirstSeenLocation(pplmn::Id peoplemon) const
Returns the name of the location the given peoplemon was first spotted at.
IntelLevel getIntelLevel(pplmn::Id peoplemon) const
Returns the level of intel on the given peoplemon.
unsigned int getSeen(pplmn::Id peoplemon) const
Returns how many of the given peoplemon have been seen.
unsigned int getCaught(pplmn::Id peoplemon) const
Returns how many of the given peoplemon have been caught.
Peopledex(State &playerState)
Construct a new Peopledex object.
IntelLevel
Represents an intel level on a given peoplemon.
Primary system for managing the player and their data.