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.
30 lines
513 B
C++
30 lines
513 B
C++
#include "loadclas.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
const Class::Specialization Class::specializationIds[3] = {
|
|
Class::Combat,
|
|
Class::Magic,
|
|
Class::Stealth
|
|
};
|
|
|
|
const char *Class::gmstSpecializationIds[3] = {
|
|
"sSpecializationCombat",
|
|
"sSpecializationMagic",
|
|
"sSpecializationStealth"
|
|
};
|
|
|
|
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");
|
|
}
|
|
|
|
}
|