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

#include <loadskil.hpp>

List of all members.

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)
void save (ESMWriter &esm) const
void blank ()
 Set record to default state (does not touch the ID/index).

Static Public Member Functions

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

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

std::string ESM::Skill::indexToId ( int  index) [static]
void ESM::Skill::load ( ESMReader esm)
void ESM::Skill::save ( ESMWriter esm) const

Member Data Documentation

std::string ESM::Skill::mId
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: