mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 23:36:59 -04:00

Changed records are those where DELE is located after NAME sub-record. And DELE is the last sub-record.
21 lines
350 B
C++
21 lines
350 B
C++
#include "util.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
bool readDeleSubRecord(ESMReader &esm)
|
|
{
|
|
if (esm.isNextSub("DELE"))
|
|
{
|
|
esm.getSubName();
|
|
esm.skipHSub();
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
void writeDeleSubRecord(ESMWriter &esm)
|
|
{
|
|
esm.writeHNString("DELE", "");
|
|
}
|
|
}
|