2015-06-26 11:01:25 +00:00
|
|
|
#ifndef CSM_WOLRD_METADATA_H
|
|
|
|
#define CSM_WOLRD_METADATA_H
|
|
|
|
|
2022-10-06 17:39:46 +00:00
|
|
|
#include <components/esm/refid.hpp>
|
2023-02-10 12:16:52 +00:00
|
|
|
#include <components/esm3/formatversion.hpp>
|
|
|
|
|
2022-10-18 07:26:55 +00:00
|
|
|
#include <string>
|
2015-06-26 11:01:25 +00:00
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
class ESMWriter;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSMWorld
|
|
|
|
{
|
|
|
|
struct MetaData
|
|
|
|
{
|
2022-10-06 17:39:46 +00:00
|
|
|
ESM::RefId mId;
|
2015-06-26 11:01:25 +00:00
|
|
|
|
2023-02-10 12:16:52 +00:00
|
|
|
ESM::FormatVersion mFormatVersion;
|
2015-06-26 11:01:25 +00:00
|
|
|
std::string mAuthor;
|
|
|
|
std::string mDescription;
|
|
|
|
|
|
|
|
void blank();
|
|
|
|
|
2022-09-22 18:26:05 +00:00
|
|
|
void load(ESM::ESMReader& esm);
|
|
|
|
void save(ESM::ESMWriter& esm) const;
|
2015-06-26 11:01:25 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|