17 return bl::serial::json::Serializer<PeoplemonDB>::deserializeStream(input, *
this);
21 return bl::serial::binary::Serializer<PeoplemonDB>::deserialize(input, *
this);
26 return bl::serial::json::Serializer<PeoplemonDB>::serializeStream(output, *
this, 4, 0);
30 bl::resource::bundle::FileHandlerContext&)
const {
31 return bl::serial::binary::Serializer<PeoplemonDB>::serialize(output, *
this);
Core classes and functionality for both the editor and game.
bool load()
Loads the database data from the save file.
bool save() const
Saves the database data to the save file.
bool loadProd(bl::serial::binary::InputStream &input)
Loads the database from its json format.
bool saveBundle(bl::serial::binary::OutputStream &output, bl::resource::bundle::FileHandlerContext &ctx) const
Saves the data from this object to the given bundle and registers depency files if any.
bool loadDev(std::istream &input)
Loads the database from its json format.
static const std::string & PeoplemonDBFile()