mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
65cdd489fb
Fixed some types removed useless header applied clang format fixed compile tests fixed clang tidy, and closer to logic before this MR Removed hardcoded refids unless there is a returned value we don't use static RefIds can use == between RefId and hardcoded string Fix clang format Fixed a few instances where std::string was used, when only const std::string& was needed removed unused variable
31 lines
458 B
C++
31 lines
458 B
C++
#ifndef CSM_WOLRD_METADATA_H
|
|
#define CSM_WOLRD_METADATA_H
|
|
|
|
#include <components/esm/refid.hpp>
|
|
#include <string>
|
|
|
|
namespace ESM
|
|
{
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
}
|
|
|
|
namespace CSMWorld
|
|
{
|
|
struct MetaData
|
|
{
|
|
ESM::RefId mId;
|
|
|
|
int mFormat;
|
|
std::string mAuthor;
|
|
std::string mDescription;
|
|
|
|
void blank();
|
|
|
|
void load(ESM::ESMReader& esm);
|
|
void save(ESM::ESMWriter& esm) const;
|
|
};
|
|
}
|
|
|
|
#endif
|