1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 09:37:53 +00:00
OpenMW/components/esm/loadprob.hpp

35 lines
502 B
C++
Raw Normal View History

2013-03-22 04:50:54 +00:00
#ifndef OPENMW_ESM_PROBE_H
#define OPENMW_ESM_PROBE_H
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct Probe
{
struct Data
{
float mWeight;
int mValue;
float mQuality;
int mUses;
}; // Size = 16
Data mData;
std::string mId, mName, mModel, mIcon, mScript;
void load(ESMReader &esm);
void save(ESMWriter &esm) const;
void blank();
///< Set record to default state (does not touch the ID).
2013-03-22 04:50:54 +00:00
};
}
#endif