1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00
OpenMW/components/esm/attr.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
680 B
C++
Raw Normal View History

2012-09-23 22:11:08 +04:00
#ifndef OPENMW_ESM_ATTR_H
#define OPENMW_ESM_ATTR_H
#include <string>
namespace ESM
{
/*
* Attribute definitions
*/
struct Attribute
{
enum AttributeID
2022-09-22 21:26:05 +03:00
{
Strength = 0,
Intelligence = 1,
Willpower = 2,
Agility = 3,
Speed = 4,
Endurance = 5,
Personality = 6,
Luck = 7,
Length = 8
};
2012-09-17 11:37:50 +04:00
AttributeID mId;
2023-05-28 15:28:34 +02:00
std::string mName, mDescription, mIcon, mWerewolfGMST;
2013-08-09 05:14:58 -07:00
static const std::string sAttributeNames[Length];
static AttributeID stringToAttributeId(std::string_view attribute);
};
}
#endif