You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
385 B
C++
24 lines
385 B
C++
#ifndef COMPONENTS_ESM_MAGICEFFECTS_H
|
|
#define COMPONENTS_ESM_MAGICEFFECTS_H
|
|
|
|
#include <map>
|
|
|
|
namespace ESM
|
|
{
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
|
|
// format 0, saved games only
|
|
struct MagicEffects
|
|
{
|
|
// <Effect Id, Base value>
|
|
std::map<int, int> mEffects;
|
|
|
|
void load (ESMReader &esm);
|
|
void save (ESMWriter &esm) const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|