mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
50 lines
701 B
C++
50 lines
701 B
C++
#ifndef OPENMW_ESM_CREC_H
|
|
#define OPENMW_ESM_CREC_H
|
|
|
|
#include <string>
|
|
|
|
// TODO create implementation files and remove this one
|
|
#include "esmreader.hpp"
|
|
|
|
namespace ESM {
|
|
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
|
|
/* These two are only used in save games. They are not decoded yet.
|
|
*/
|
|
|
|
/// Changes a creature
|
|
struct LoadCREC
|
|
{
|
|
static unsigned int sRecordId;
|
|
|
|
std::string mId;
|
|
|
|
void load(ESMReader &esm)
|
|
{
|
|
esm.skipRecord();
|
|
}
|
|
|
|
void save(ESMWriter &esm) const
|
|
{
|
|
}
|
|
};
|
|
|
|
/// Changes an item list / container
|
|
struct LoadCNTC
|
|
{
|
|
std::string mId;
|
|
|
|
void load(ESMReader &esm)
|
|
{
|
|
esm.skipRecord();
|
|
}
|
|
|
|
void save(ESMWriter &esm) const
|
|
{
|
|
}
|
|
};
|
|
}
|
|
#endif
|