forked from teamnwah/openmw-tes3coop
7168795ae6
esm_reader.hpp loadacti.hpp loadalch.hpp loadappa.hpp loadarmo.hpp loadbody.hpp loadbook.hpp loadbsgn.hpp loadcell.hpp loadclas.hpp loadclot.hpp loadland.hpp Updated code style in defs.hpp
17 lines
267 B
C++
17 lines
267 B
C++
#include "loadclas.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void Class::load(ESMReader &esm)
|
|
{
|
|
name = esm.getHNString("FNAM");
|
|
esm.getHNT(data, "CLDT", 60);
|
|
|
|
if (data.isPlayable > 1)
|
|
esm.fail("Unknown bool value");
|
|
|
|
description = esm.getHNOString("DESC");
|
|
}
|
|
|
|
}
|