mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 05:47:57 +03:00
24 lines
416 B
C++
24 lines
416 B
C++
![]() |
|
||
|
#include "filter.hpp"
|
||
|
|
||
|
#include "esmreader.hpp"
|
||
|
#include "esmwriter.hpp"
|
||
|
|
||
|
void ESM::Filter::load (ESMReader& esm)
|
||
|
{
|
||
|
mFilter = esm.getHNString ("FILT");
|
||
|
mDescription = esm.getHNString ("DESC");
|
||
|
}
|
||
|
|
||
|
void ESM::Filter::save (ESMWriter& esm)
|
||
|
{
|
||
|
esm.writeHNCString ("FILT", mFilter);
|
||
|
esm.writeHNCString ("DESC", mDescription);
|
||
|
}
|
||
|
|
||
|
void ESM::Filter::blank()
|
||
|
{
|
||
|
mFilter.clear();
|
||
|
mDescription.clear();
|
||
|
}
|