mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 04:53:52 +00:00
32 lines
526 B
C++
32 lines
526 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
|
|
{
|
|
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
|