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

#include <loadclot.hpp>

Collaboration diagram for ESM::Clothing:

Classes

struct  CTDTstruct
 

Public Types

enum  Type {
  Pants = 0, Shoes = 1, Shirt = 2, Belt = 3,
  Robe = 4, RGlove = 5, LGlove = 6, Skirt = 7,
  Ring = 8, Amulet = 9
}
 

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

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

Static Public Attributes

static unsigned int sRecordId = REC_CLOT
 

Member Enumeration Documentation

Enumerator
Pants 
Shoes 
Shirt 
Belt 
Robe 
RGlove 
LGlove 
Skirt 
Ring 
Amulet 

Member Function Documentation

void ESM::Clothing::blank ( )

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

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

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

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

CTDTstruct ESM::Clothing::mData
std::string ESM::Clothing::mEnchant
std::string ESM::Clothing::mIcon
std::string ESM::Clothing::mId
std::string ESM::Clothing::mModel
std::string ESM::Clothing::mName
PartReferenceList ESM::Clothing::mParts
std::string ESM::Clothing::mScript
unsigned int ESM::Clothing::sRecordId = REC_CLOT
static

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