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

#include <loadskil.hpp>

Collaboration diagram for ESM::Skill:

Classes

struct  SKDTstruct
 

Public Types

enum  SkillEnum {
  Block = 0, Armorer = 1, MediumArmor = 2, HeavyArmor = 3,
  BluntWeapon = 4, LongBlade = 5, Axe = 6, Spear = 7,
  Athletics = 8, Enchant = 9, Destruction = 10, Alteration = 11,
  Illusion = 12, Conjuration = 13, Mysticism = 14, Restoration = 15,
  Alchemy = 16, Unarmored = 17, Security = 18, Sneak = 19,
  Acrobatics = 20, LightArmor = 21, ShortBlade = 22, Marksman = 23,
  Mercantile = 24, Speechcraft = 25, HandToHand = 26, Length
}
 

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/index). 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...
 
static std::string indexToId (int index)
 

Public Attributes

std::string mId
 
SKDTstruct mData
 
int mIndex
 
std::string mDescription
 

Static Public Attributes

static unsigned int sRecordId = REC_SKIL
 
static const std::string sSkillNames [Length]
 
static const std::string sSkillNameIds [Length]
 
static const std::string sIconNames [Length]
 
static const boost::array
< SkillEnum, Length
sSkillIds
 

Member Enumeration Documentation

Enumerator
Block 
Armorer 
MediumArmor 
HeavyArmor 
BluntWeapon 
LongBlade 
Axe 
Spear 
Athletics 
Enchant 
Destruction 
Alteration 
Illusion 
Conjuration 
Mysticism 
Restoration 
Alchemy 
Unarmored 
Security 
Sneak 
Acrobatics 
LightArmor 
ShortBlade 
Marksman 
Mercantile 
Speechcraft 
HandToHand 
Length 

Member Function Documentation

void ESM::Skill::blank ( )

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

Here is the caller graph for this function:

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

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

std::string ESM::Skill::indexToId ( int  index)
static

Here is the caller graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

SKDTstruct ESM::Skill::mData
std::string ESM::Skill::mDescription
std::string ESM::Skill::mId
int ESM::Skill::mIndex
const std::string ESM::Skill::sIconNames
static
Initial value:
= {
"combat_block.dds",
"combat_armor.dds",
"combat_mediumarmor.dds",
"combat_heavyarmor.dds",
"combat_blunt.dds",
"combat_longblade.dds",
"combat_axe.dds",
"combat_spear.dds",
"combat_athletics.dds",
"magic_enchant.dds",
"magic_destruction.dds",
"magic_alteration.dds",
"magic_illusion.dds",
"magic_conjuration.dds",
"magic_mysticism.dds",
"magic_restoration.dds",
"magic_alchemy.dds",
"magic_unarmored.dds",
"stealth_security.dds",
"stealth_sneak.dds",
"stealth_acrobatics.dds",
"stealth_lightarmor.dds",
"stealth_shortblade.dds",
"stealth_marksman.dds",
"stealth_mercantile.dds",
"stealth_speechcraft.dds",
"stealth_handtohand.dds",
}
unsigned int ESM::Skill::sRecordId = REC_SKIL
static
const boost::array< Skill::SkillEnum, Skill::Length > ESM::Skill::sSkillIds
static
const std::string ESM::Skill::sSkillNameIds
static
Initial value:
= {
"sSkillBlock",
"sSkillArmorer",
"sSkillMediumarmor",
"sSkillHeavyarmor",
"sSkillBluntweapon",
"sSkillLongblade",
"sSkillAxe",
"sSkillSpear",
"sSkillAthletics",
"sSkillEnchant",
"sSkillDestruction",
"sSkillAlteration",
"sSkillIllusion",
"sSkillConjuration",
"sSkillMysticism",
"sSkillRestoration",
"sSkillAlchemy",
"sSkillUnarmored",
"sSkillSecurity",
"sSkillSneak",
"sSkillAcrobatics",
"sSkillLightarmor",
"sSkillShortblade",
"sSkillMarksman",
"sSkillMercantile",
"sSkillSpeechcraft",
"sSkillHandtohand",
}
const std::string ESM::Skill::sSkillNames
static
Initial value:
= {
"Block",
"Armorer",
"Mediumarmor",
"Heavyarmor",
"Bluntweapon",
"Longblade",
"Axe",
"Spear",
"Athletics",
"Enchant",
"Destruction",
"Alteration",
"Illusion",
"Conjuration",
"Mysticism",
"Restoration",
"Alchemy",
"Unarmored",
"Security",
"Sneak",
"Acrobatics",
"Lightarmor",
"Shortblade",
"Marksman",
"Mercantile",
"Speechcraft",
"Handtohand",
}

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