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.
28 lines
498 B
C++
28 lines
498 B
C++
11 years ago
|
#ifndef OPENMW_ESM_LOCALS_H
|
||
|
#define OPENMW_ESM_LOCALS_H
|
||
|
|
||
|
#include <vector>
|
||
|
#include <string>
|
||
|
|
||
|
#include "variant.hpp"
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
class ESMReader;
|
||
|
class ESMWriter;
|
||
|
|
||
|
/// \brief Storage structure for local variables (only used in saved games)
|
||
|
///
|
||
|
/// \note This is not a top-level record.
|
||
|
|
||
|
struct Locals
|
||
|
{
|
||
|
std::vector<std::pair<std::string, Variant> > mVariables;
|
||
|
|
||
|
void load (ESMReader &esm);
|
||
|
void save (ESMWriter &esm) const;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|