mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
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
18 lines
342 B
C++
18 lines
342 B
C++
#include "loadbook.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void Book::load(ESMReader &esm)
|
|
{
|
|
model = esm.getHNString("MODL");
|
|
name = esm.getHNOString("FNAM");
|
|
esm.getHNT(data, "BKDT", 20);
|
|
script = esm.getHNOString("SCRI");
|
|
icon = esm.getHNOString("ITEX");
|
|
text = esm.getHNOString("TEXT");
|
|
enchant = esm.getHNOString("ENAM");
|
|
}
|
|
|
|
}
|