1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 12:53:52 +00:00
openmw/components/esm/globalscript.hpp

25 lines
433 B
C++
Raw Normal View History

#ifndef OPENMW_ESM_GLOBALSCRIPT_H
#define OPENMW_ESM_GLOBALSCRIPT_H
#include "locals.hpp"
namespace ESM
{
class ESMReader;
class ESMWriter;
/// \brief Storage structure for global script state (only used in saved games)
struct GlobalScript
{
std::string mId;
Locals mLocals;
int mRunning;
void load (ESMReader &esm);
void save (ESMWriter &esm) const;
};
}
#endif