mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-23 17:23:56 +00:00
e0d5208d26
(cherry picked from commit 89e44c8f1f
)
39 lines
686 B
C++
39 lines
686 B
C++
#include "util.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace ESM
|
|
{
|
|
bool readDeleSubRecord(ESMReader &esm)
|
|
{
|
|
if (esm.isNextSub("DELE"))
|
|
{
|
|
esm.skipHSub();
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
void writeDeleSubRecord(ESMWriter &esm)
|
|
{
|
|
esm.writeHNT("DELE", static_cast<int32_t>(0));
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|