コード例 #1
0
std::string RecordHelper::createNpcRecord(const ESM::NPC& npc)
{
    MWBase::World *world = MWBase::Environment::get().getWorld();

    return world->createRecord(npc)->mId;
}
コード例 #2
0
std::string RecordHelper::createCreatureRecord(const ESM::Creature& creature)
{
    MWBase::World *world = MWBase::Environment::get().getWorld();

    return world->createRecord(creature)->mId;
}