mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 19:19:55 +00:00
29 lines
460 B
C++
29 lines
460 B
C++
|
#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
|