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.
17 lines
307 B
C++
17 lines
307 B
C++
14 years ago
|
#include "loadweap.hpp"
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
|
||
|
void Weapon::load(ESMReader &esm)
|
||
|
{
|
||
|
model = esm.getHNString("MODL");
|
||
|
name = esm.getHNOString("FNAM");
|
||
|
esm.getHNT(data, "WPDT", 32);
|
||
|
script = esm.getHNOString("SCRI");
|
||
|
icon = esm.getHNOString("ITEX");
|
||
|
enchant = esm.getHNOString("ENAM");
|
||
|
}
|
||
|
|
||
|
}
|