OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ESM::Enchantment Struct Reference

#include <loadench.hpp>

Collaboration diagram for ESM::Enchantment:

Classes

struct  ENDTstruct
 

Public Types

enum  Type { CastOnce = 0, WhenStrikes = 1, WhenUsed = 2, ConstantEffect = 3 }
 

Public Member Functions

void load (ESMReader &esm, bool &isDeleted)
 
void save (ESMWriter &esm, bool isDeleted=false) const
 
void blank ()
 Set record to default state (does not touch the ID). More...
 

Static Public Member Functions

static std::string getRecordType ()
 Return a string descriptor for this record type. Currently used for debugging / error logs only. More...
 

Public Attributes

std::string mId
 
ENDTstruct mData
 
EffectList mEffects
 

Static Public Attributes

static unsigned int sRecordId = REC_ENCH
 

Member Enumeration Documentation

Enumerator
CastOnce 
WhenStrikes 
WhenUsed 
ConstantEffect 

Member Function Documentation

void ESM::Enchantment::blank ( )

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

static std::string ESM::Enchantment::getRecordType ( )
inlinestatic

Return a string descriptor for this record type. Currently used for debugging / error logs only.

void ESM::Enchantment::load ( ESMReader esm,
bool isDeleted 
)

Here is the call graph for this function:

void ESM::Enchantment::save ( ESMWriter esm,
bool  isDeleted = false 
) const

Here is the call graph for this function:

Member Data Documentation

ENDTstruct ESM::Enchantment::mData
EffectList ESM::Enchantment::mEffects
std::string ESM::Enchantment::mId
unsigned int ESM::Enchantment::sRecordId = REC_ENCH
static

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