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

#include <loadclas.hpp>

List of all members.

Classes

struct  CLDTstruct

Public Types

enum  AutoCalc {
  Weapon = 0x00001, Armor = 0x00002, Clothing = 0x00004, Books = 0x00008,
  Ingredient = 0x00010, Lockpick = 0x00020, Probe = 0x00040, Lights = 0x00080,
  Apparatus = 0x00100, Repair = 0x00200, Misc = 0x00400, Spells = 0x00800,
  MagicItems = 0x01000, Potions = 0x02000, Training = 0x04000, Spellmaking = 0x08000,
  Enchanting = 0x10000, RepairItem = 0x20000
}
enum  Specialization { Combat = 0, Magic = 1, Stealth = 2 }

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

std::string mId
std::string mName
std::string mDescription
CLDTstruct mData

Static Public Attributes

static unsigned int sRecordId = REC_CLAS
static const Specialization sSpecializationIds [3]
static const char * sGmstSpecializationIds [3]

Member Enumeration Documentation

Enumerator:
Weapon 
Armor 
Clothing 
Books 
Ingredient 
Lockpick 
Probe 
Lights 
Apparatus 
Repair 
Misc 
Spells 
MagicItems 
Potions 
Training 
Spellmaking 
Enchanting 
RepairItem 
Enumerator:
Combat 
Magic 
Stealth 

Member Function Documentation

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

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

Member Data Documentation

std::string ESM::Class::mId
std::string ESM::Class::mName
const char * ESM::Class::sGmstSpecializationIds [static]
Initial value:
 {
  "sSpecializationCombat",
  "sSpecializationMagic",
  "sSpecializationStealth"
}
unsigned int ESM::Class::sRecordId = REC_CLAS [static]

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