1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 19:29:56 +00:00
openmw/components/esm3/dialoguestate.hpp
2022-09-22 21:35:26 +03:00

28 lines
555 B
C++

#ifndef OPENMW_ESM_DIALOGUESTATE_H
#define OPENMW_ESM_DIALOGUESTATE_H
#include <map>
#include <string>
#include <vector>
namespace ESM
{
class ESMReader;
class ESMWriter;
// format 0, saved games only
struct DialogueState
{
// must be lower case topic IDs
std::vector<std::string> mKnownTopics;
// must be lower case faction IDs
std::map<std::string, std::map<std::string, int>> mChangedFactionReaction;
void load(ESMReader& esm);
void save(ESMWriter& esm) const;
};
}
#endif