You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/apps/opencs/model/world/metadata.hpp

35 lines
608 B
C++

#ifndef CSM_WOLRD_METADATA_H
#define CSM_WOLRD_METADATA_H
#include <components/esm/refid.hpp>
#include <components/esm3/formatversion.hpp>
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
}
namespace CSMWorld
{
struct MetaData
{
static constexpr std::string_view getRecordType() { return "MetaData"; }
ESM::RefId mId;
ESM::FormatVersion mFormatVersion;
std::string mAuthor;
std::string mDescription;
void blank();
void load(ESM::ESMReader& esm);
void save(ESM::ESMWriter& esm) const;
};
}
#endif