1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 16:39:41 +00:00
openmw/components/esm3/quickkeys.hpp

29 lines
458 B
C++
Raw Normal View History

2014-05-02 10:47:28 +00:00
#ifndef OPENMW_COMPONENTS_ESM_QUICKKEYS_H
#define OPENMW_COMPONENTS_ESM_QUICKKEYS_H
#include <string>
2022-09-22 18:26:05 +00:00
#include <vector>
2014-05-02 10:47:28 +00:00
namespace ESM
{
class ESMReader;
class ESMWriter;
struct QuickKeys
{
struct QuickKey
{
int mType;
std::string mId; // Spell or Item ID
};
std::vector<QuickKey> mKeys;
2022-09-22 18:26:05 +00:00
void load(ESMReader& esm);
void save(ESMWriter& esm) const;
2014-05-02 10:47:28 +00:00
};
}
#endif