mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-03 08:45:32 +00:00
18 lines
267 B
C++
18 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");
|
||
|
}
|
||
|
|
||
|
}
|