2015-07-07 12:37:42 +00:00
|
|
|
#include "util.hpp"
|
|
|
|
|
2015-07-07 16:18:42 +00:00
|
|
|
#include <cstdint>
|
|
|
|
|
2015-07-07 12:37:42 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
bool readDeleSubRecord(ESMReader &esm)
|
|
|
|
{
|
|
|
|
if (esm.isNextSub("DELE"))
|
|
|
|
{
|
|
|
|
esm.skipHSub();
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void writeDeleSubRecord(ESMWriter &esm)
|
|
|
|
{
|
2015-07-07 16:18:42 +00:00
|
|
|
esm.writeHNT("DELE", static_cast<int32_t>(0));
|
2015-07-07 12:37:42 +00:00
|
|
|
}
|
2015-07-08 18:24:05 +00:00
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<StartScript>(const StartScript &script)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<Race>(const Race &race)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
bool isRecordDeleted<GameSetting>(const GameSetting &gmst)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2015-07-07 12:37:42 +00:00
|
|
|
}
|