You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
460 B
C++
29 lines
460 B
C++
11 years ago
|
#ifndef OPENMW_COMPONENTS_ESM_QUICKKEYS_H
|
||
|
#define OPENMW_COMPONENTS_ESM_QUICKKEYS_H
|
||
|
|
||
|
#include <vector>
|
||
|
#include <string>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
class ESMReader;
|
||
|
class ESMWriter;
|
||
|
|
||
|
struct QuickKeys
|
||
|
{
|
||
|
struct QuickKey
|
||
|
{
|
||
|
int mType;
|
||
|
std::string mId; // Spell or Item ID
|
||
|
};
|
||
|
|
||
|
std::vector<QuickKey> mKeys;
|
||
|
|
||
|
void load (ESMReader &esm);
|
||
|
void save (ESMWriter &esm) const;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|