forked from teamnwah/openmw-tes3coop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
523 B
C++
30 lines
523 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;
|
|
|
|
void load (ESMReader& esm, bool &isDeleted);
|
|
void save (ESMWriter& esm, bool isDeleted = false) const;
|
|
|
|
void blank();
|
|
///< Set record to default state (does not touch the ID).
|
|
};
|
|
}
|
|
|
|
#endif
|