You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
342 B
C++
18 lines
342 B
C++
14 years ago
|
#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");
|
||
|
}
|
||
|
|
||
|
}
|