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

#include <loadbody.hpp>

Collaboration diagram for ESM::BodyPart:

Classes

struct  BYDTstruct
 

Public Types

enum  MeshPart {
  MP_Head = 0, MP_Hair = 1, MP_Neck = 2, MP_Chest = 3,
  MP_Groin = 4, MP_Hand = 5, MP_Wrist = 6, MP_Forearm = 7,
  MP_Upperarm = 8, MP_Foot = 9, MP_Ankle = 10, MP_Knee = 11,
  MP_Upperleg = 12, MP_Clavicle = 13, MP_Tail = 14, MP_Count = 15
}
 
enum  Flags { BPF_Female = 1, BPF_NotPlayable = 2 }
 
enum  MeshType { MT_Skin = 0, MT_Clothing = 1, MT_Armor = 2 }
 

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

BYDTstruct mData
 
std::string mId
 
std::string mModel
 
std::string mRace
 

Static Public Attributes

static unsigned int sRecordId = REC_BODY
 

Member Enumeration Documentation

Enumerator
BPF_Female 
BPF_NotPlayable 
Enumerator
MP_Head 
MP_Hair 
MP_Neck 
MP_Chest 
MP_Groin 
MP_Hand 
MP_Wrist 
MP_Forearm 
MP_Upperarm 
MP_Foot 
MP_Ankle 
MP_Knee 
MP_Upperleg 
MP_Clavicle 
MP_Tail 
MP_Count 
Enumerator
MT_Skin 
MT_Clothing 
MT_Armor 

Member Function Documentation

void ESM::BodyPart::blank ( )

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

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

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

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

BYDTstruct ESM::BodyPart::mData
std::string ESM::BodyPart::mId
std::string ESM::BodyPart::mModel
std::string ESM::BodyPart::mRace
unsigned int ESM::BodyPart::sRecordId = REC_BODY
static

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