1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 21:49:56 +00:00
openmw-tes3mp/components/esm/loadalch.hpp
2012-10-01 00:51:54 +04:00

35 lines
481 B
C++

#ifndef OPENMW_ESM_ALCH_H
#define OPENMW_ESM_ALCH_H
#include <string>
#include "effectlist.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/*
* Alchemy item (potions)
*/
struct Potion
{
struct ALDTstruct
{
float mWeight;
int mValue;
int mAutoCalc;
};
ALDTstruct mData;
std::string mId, mName, mModel, mIcon, mScript;
EffectList mEffects;
void load(ESMReader &esm);
void save(ESMWriter &esm);
};
}
#endif