OpenMW
|
#include <spelllist.hpp>
Public Member Functions | |
bool | exists (const std::string &spell) const |
Is this spell ID in mList? More... | |
void | add (ESMReader &esm) |
Load one spell, assumes the subrecord name was already read. More... | |
void | save (ESMWriter &esm) const |
Public Attributes | |
std::vector< std::string > | mList |
A list of references to spells and spell effects. This is shared between the records BSGN, NPC and RACE. NPCS subrecord.
void ESM::SpellList::add | ( | ESMReader & | esm | ) |
Load one spell, assumes the subrecord name was already read.
bool ESM::SpellList::exists | ( | const std::string & | spell | ) | const |
Is this spell ID in mList?
void ESM::SpellList::save | ( | ESMWriter & | esm | ) | const |
std::vector<std::string> ESM::SpellList::mList |