1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 19:53:54 +00:00
openmw/apps/opencs/model/world/metadata.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
608 B
C++
Raw Normal View History

#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
{
2023-05-25 18:44:10 +00:00
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