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

#include <attr.hpp>

List of all members.

Public Types

enum  AttributeID {
  Strength = 0, Intelligence = 1, Willpower = 2, Agility = 3,
  Speed = 4, Endurance = 5, Personality = 6, Luck = 7,
  Length
}

Public Member Functions

 Attribute (AttributeID id, const std::string &name, const std::string &description)

Public Attributes

AttributeID mId
std::string mName
std::string mDescription

Static Public Attributes

static const AttributeID sAttributeIds [Length]
static const std::string sAttributeNames [Length]
static const std::string sGmstAttributeIds [Length]
static const std::string sGmstAttributeDescIds [Length]
static const std::string sAttributeIcons [Length]

Member Enumeration Documentation

Enumerator:
Strength 
Intelligence 
Willpower 
Agility 
Speed 
Endurance 
Personality 
Luck 
Length 

Constructor & Destructor Documentation

ESM::Attribute::Attribute ( AttributeID  id,
const std::string &  name,
const std::string &  description 
) [inline]

Member Data Documentation

std::string ESM::Attribute::mName
const std::string Attribute::sAttributeIcons [static]
Initial value:
 {
    "icons\\k\\attribute_strength.dds",
    "icons\\k\\attribute_int.dds",
    "icons\\k\\attribute_wilpower.dds",
    "icons\\k\\attribute_agility.dds",
    "icons\\k\\attribute_speed.dds",
    "icons\\k\\attribute_endurance.dds",
    "icons\\k\\attribute_personality.dds",
    "icons\\k\\attribute_luck.dds"
}
const std::string Attribute::sAttributeNames [static]
Initial value:
 {
    "Strength",
    "Intelligence",
    "Willpower",
    "Agility",
    "Speed",
    "Endurance",
    "Personality",
    "Luck"
}
const std::string Attribute::sGmstAttributeDescIds [static]
Initial value:
 {
    "sStrDesc",
    "sIntDesc",
    "sWilDesc",
    "sAgiDesc",
    "sSpdDesc",
    "sEndDesc",
    "sPerDesc",
    "sLucDesc"
}
const std::string Attribute::sGmstAttributeIds [static]
Initial value:
 {
    "sAttributeStrength",
    "sAttributeIntelligence",
    "sAttributeWillpower",
    "sAttributeAgility",
    "sAttributeSpeed",
    "sAttributeEndurance",
    "sAttributePersonality",
    "sAttributeLuck"
}

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