mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-04 02:21:11 -04:00

Changed records: Race, Land, Pathgrid, StartScript, DebugProfile, Filter (cherry picked from commit e65ff723ce6e71da7d00e68820250682512418c1) Conflicts: components/esm/loadland.cpp components/esm/loadland.hpp
34 lines
527 B
C++
34 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
|