mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 19:19:55 +00:00
24 lines
433 B
C++
24 lines
433 B
C++
#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
|