forked from teamnwah/openmw-tes3coop
e65ff723ce
Changed records: Race, Land, Pathgrid, StartScript, DebugProfile, Filter
33 lines
527 B
C++
33 lines
527 B
C++
#ifndef COMPONENTS_ESM_FILTER_H
|
|
#define COMPONENTS_ESM_FILTER_H
|
|
|
|
#include <string>
|
|
|
|
namespace ESM
|
|
{
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
|
|
struct Filter
|
|
{
|
|
static unsigned int sRecordId;
|
|
|
|
std::string mId;
|
|
|
|
std::string mDescription;
|
|
|
|
std::string mFilter;
|
|
|
|
bool mIsDeleted;
|
|
|
|
Filter();
|
|
|
|
void load (ESMReader& esm);
|
|
void save (ESMWriter& esm) const;
|
|
|
|
void blank();
|
|
///< Set record to default state (does not touch the ID).
|
|
};
|
|
}
|
|
|
|
#endif
|