2019-12-29 14:29:52 +00:00
|
|
|
#ifndef PKMNLIB_POKEMONFORME_HPP
|
|
|
|
#define PKMNLIB_POKEMONFORME_HPP
|
|
|
|
|
2020-02-08 18:22:29 +00:00
|
|
|
#include <CreatureLib/Library/CreatureData/SpeciesVariant.hpp>
|
2020-08-17 16:23:25 +00:00
|
|
|
#include "LearnableMoves.hpp"
|
2019-12-29 14:29:52 +00:00
|
|
|
|
|
|
|
namespace PkmnLib::Library {
|
2020-10-15 16:13:00 +00:00
|
|
|
class PokemonForme final : public CreatureLib::Library::SpeciesVariant {
|
2019-12-29 14:29:52 +00:00
|
|
|
public:
|
2022-03-25 18:08:42 +00:00
|
|
|
PokemonForme(const ArbUt::StringView& name, float height, float weight, u32 baseExperience,
|
|
|
|
const ArbUt::List<u8>& types, CreatureLib::Library::StatisticSet<u16> baseStats,
|
2021-11-15 11:47:02 +00:00
|
|
|
const ArbUt::List<ArbUt::BorrowedPtr<const CreatureLib::Library::Talent>>& talents,
|
|
|
|
const ArbUt::List<ArbUt::BorrowedPtr<const CreatureLib::Library::Talent>>& secretTalents,
|
2022-03-25 18:08:42 +00:00
|
|
|
const LearnableMoves* moves, std::unordered_set<u32> flags = {})
|
|
|
|
: SpeciesVariant(name, height, weight, baseExperience, types, baseStats, talents, secretTalents, moves,
|
|
|
|
std::move(flags)){};
|
2019-12-29 14:29:52 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
public:
|
2021-11-15 11:47:02 +00:00
|
|
|
inline const ArbUt::BorrowedPtr<const CreatureLib::Library::Talent>&
|
|
|
|
GetAbility(const CreatureLib::Library::TalentIndex& index) const {
|
2020-04-06 18:03:44 +00:00
|
|
|
return GetTalent(index);
|
|
|
|
}
|
2019-12-29 14:29:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // PKMNLIB_POKEMONFORME_HPP
|