mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:19:54 +00:00
20 lines
544 B
C++
20 lines
544 B
C++
#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);
|
|
bool doesRaceExist(const std::string& raceId);
|
|
|
|
std::string createCreatureRecord(const ESM::Creature& creature);
|
|
std::string createNpcRecord(const ESM::NPC& npc);
|
|
|
|
void updateCreatureRecord(const ESM::Creature& creature);
|
|
void updateNpcRecord(const ESM::NPC& npc);
|
|
}
|
|
|
|
|
|
#endif //OPENMW_RECORDHELPER_HPP
|