mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:23:54 +00:00
29 lines
458 B
C++
29 lines
458 B
C++
|
#ifndef OPENMW_COMPONENTS_ESM_QUICKKEYS_H
|
||
|
#define OPENMW_COMPONENTS_ESM_QUICKKEYS_H
|
||
|
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
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
|