2021-08-22 10:10:26 +00:00
|
|
|
#ifndef GEN7TESTS_BUILDSPECIES_HPP
|
|
|
|
#define GEN7TESTS_BUILDSPECIES_HPP
|
|
|
|
#define LEVEL_U8 1
|
|
|
|
#include <CreatureLib/Library/TypeLibrary.hpp>
|
|
|
|
#include <PkmnLib/Library/PokemonLibrary.hpp>
|
|
|
|
#include <string>
|
2021-08-28 14:52:47 +00:00
|
|
|
#include "json.hpp"
|
2021-08-22 10:10:26 +00:00
|
|
|
using json = nlohmann::json;
|
|
|
|
|
|
|
|
class BuildSpecies {
|
2021-08-28 14:52:47 +00:00
|
|
|
static const PkmnLib::Library::PokemonForme* BuildForme(const std::string& name, const json& forme,
|
2021-08-22 10:10:26 +00:00
|
|
|
const std::string& baseKeyName, const std::string& path,
|
|
|
|
const CreatureLib::Library::TypeLibrary* typeLibrary,
|
|
|
|
const PkmnLib::Library::MoveLibrary* moveLibrary);
|
|
|
|
|
|
|
|
public:
|
|
|
|
static PkmnLib::Library::SpeciesLibrary* BuildLibrary(const std::string& path,
|
|
|
|
const CreatureLib::Library::TypeLibrary* types,
|
|
|
|
const PkmnLib::Library::MoveLibrary* moveLibrary);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GEN7TESTS_BUILDSPECIES_HPP
|