mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:19:56 +00:00
17 lines
307 B
C++
17 lines
307 B
C++
|
#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");
|
||
|
}
|
||
|
|
||
|
}
|