2018-04-12 11:18:19 +00:00
|
|
|
#ifndef OPENMW_RECORDHELPER_HPP
|
|
|
|
#define OPENMW_RECORDHELPER_HPP
|
|
|
|
|
|
|
|
#include <components/esm/loadcrea.hpp>
|
|
|
|
#include <components/esm/loadnpc.hpp>
|
|
|
|
|
|
|
|
namespace RecordHelper
|
|
|
|
{
|
|
|
|
bool doesCreatureExist(const std::string& refId);
|
2018-07-26 20:57:42 +00:00
|
|
|
bool doesNpcExist(const std::string& refId);
|
2018-04-13 05:37:06 +00:00
|
|
|
bool doesRaceExist(const std::string& raceId);
|
2018-04-12 11:18:19 +00:00
|
|
|
|
|
|
|
std::string createCreatureRecord(const ESM::Creature& creature);
|
|
|
|
std::string createNpcRecord(const ESM::NPC& npc);
|
|
|
|
|
2018-07-26 18:01:59 +00:00
|
|
|
void overrideCreatureRecord(const ESM::Creature& creature);
|
|
|
|
void overrideNpcRecord(const ESM::NPC& npc);
|
|
|
|
|
|
|
|
void overrideEnchantmentRecord(const ESM::Enchantment& enchantment);
|
|
|
|
void overridePotionRecord(const ESM::Potion& potion);
|
|
|
|
void overrideSpellRecord(const ESM::Spell& spell);
|
2018-04-12 11:18:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //OPENMW_RECORDHELPER_HPP
|