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::Armor Struct Reference

#include <loadarmo.hpp>

Collaboration diagram for ESM::Armor:

Classes

struct  AODTstruct
 

Public Types

enum  Type {
  Helmet = 0, Cuirass = 1, LPauldron = 2, RPauldron = 3,
  Greaves = 4, Boots = 5, LGauntlet = 6, RGauntlet = 7,
  Shield = 8, LBracer = 9, RBracer = 10
}
 

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

AODTstruct mData
 
PartReferenceList mParts
 
std::string mId
 
std::string mName
 
std::string mModel
 
std::string mIcon
 
std::string mScript
 
std::string mEnchant
 

Static Public Attributes

static unsigned int sRecordId = REC_ARMO
 

Member Enumeration Documentation

Enumerator
Helmet 
Cuirass 
LPauldron 
RPauldron 
Greaves 
Boots 
LGauntlet 
RGauntlet 
Shield 
LBracer 
RBracer 

Member Function Documentation

void ESM::Armor::blank ( )

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

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

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

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

AODTstruct ESM::Armor::mData
std::string ESM::Armor::mEnchant
std::string ESM::Armor::mIcon
std::string ESM::Armor::mId
std::string ESM::Armor::mModel
std::string ESM::Armor::mName
PartReferenceList ESM::Armor::mParts
std::string ESM::Armor::mScript
unsigned int ESM::Armor::sRecordId = REC_ARMO
static

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