mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 22:53:53 +00:00
34 lines
608 B
C++
34 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
|