1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 16:19:54 +00:00
openmw-tes3mp/components/esm/loaddial.hpp
2012-09-23 22:11:08 +04:00

38 lines
607 B
C++

#ifndef OPENMW_ESM_DIAL_H
#define OPENMW_ESM_DIAL_H
#include <vector>
#include "record.hpp"
#include "loadinfo.hpp"
namespace ESM
{
/*
* Dialogue topic and journal entries. The actual data is contained in
* the INFO records following the DIAL.
*/
struct Dialogue : public Record
{
enum Type
{
Topic = 0,
Voice = 1,
Greeting = 2,
Persuasion = 3,
Journal = 4,
Deleted = -1
};
char mType;
std::vector<DialInfo> mInfo;
void load(ESMReader &esm);
void save(ESMWriter &esm);
int getName() { return REC_DIAL; }
};
}
#endif