OpenMW
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
ESM::Spell Struct Reference

#include <loadspel.hpp>

List of all members.

Classes

struct  SPDTstruct

Public Types

enum  SpellType {
  ST_Spell = 0, ST_Ability = 1, ST_Blight = 2, ST_Disease = 3,
  ST_Curse = 4, ST_Power = 5
}
enum  Flags { F_Autocalc = 1, F_PCStart = 2, F_Always = 4 }

Public Member Functions

void load (ESMReader &esm)
void save (ESMWriter &esm) const
void blank ()
 Set record to default state (does not touch the ID/index).

Public Attributes

SPDTstruct mData
std::string mId
std::string mName
EffectList mEffects

Static Public Attributes

static unsigned int sRecordId = REC_SPEL

Member Enumeration Documentation

Enumerator:
F_Autocalc 
F_PCStart 
F_Always 
Enumerator:
ST_Spell 
ST_Ability 
ST_Blight 
ST_Disease 
ST_Curse 
ST_Power 

Member Function Documentation

Set record to default state (does not touch the ID/index).

void ESM::Spell::load ( ESMReader esm)
void ESM::Spell::save ( ESMWriter esm) const

Member Data Documentation

std::string ESM::Spell::mId
std::string ESM::Spell::mName
unsigned int ESM::Spell::sRecordId = REC_SPEL [static]

The documentation for this struct was generated from the following files: