OpenMW
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
ESM::DialInfo Struct Reference

#include <loadinfo.hpp>

List of all members.

Classes

struct  DATAstruct
struct  SelectStruct

Public Types

enum  Gender { Male = 0, Female = 1, NA = -1 }
enum  QuestStatus {
  QS_None = 0, QS_Name = 1, QS_Finished = 2, QS_Restart = 3,
  QS_Deleted
}
enum  SubNames {
  REC_ONAM = 0x4d414e4f, REC_RNAM = 0x4d414e52, REC_CNAM = 0x4d414e43, REC_FNAM = 0x4d414e46,
  REC_ANAM = 0x4d414e41, REC_DNAM = 0x4d414e44, REC_SNAM = 0x4d414e53, REC_NAME = 0x454d414e,
  REC_SCVR = 0x52564353, REC_BNAM = 0x4d414e42, REC_QSTN = 0x4e545351, REC_QSTF = 0x46545351,
  REC_QSTR = 0x52545351, REC_DELE = 0x454c4544
}

Public Member Functions

void load (ESMReader &esm)
void save (ESMWriter &esm) const
void blank ()
 Set record to default state (does not touch the ID).

Public Attributes

DATAstruct mData
std::vector< SelectStructmSelects
std::string mId
std::string mPrev
std::string mNext
std::string mActor
std::string mRace
std::string mClass
std::string mFaction
std::string mPcFaction
std::string mCell
std::string mSound
std::string mResponse
std::string mResultScript
bool mFactionLess
QuestStatus mQuestStatus

Static Public Attributes

static unsigned int sRecordId = REC_INFO

Member Enumeration Documentation

Enumerator:
Male 
Female 
NA 
Enumerator:
QS_None 
QS_Name 
QS_Finished 
QS_Restart 
QS_Deleted 
Enumerator:
REC_ONAM 
REC_RNAM 
REC_CNAM 
REC_FNAM 
REC_ANAM 
REC_DNAM 
REC_SNAM 
REC_NAME 
REC_SCVR 
REC_BNAM 
REC_QSTN 
REC_QSTF 
REC_QSTR 
REC_DELE 

Member Function Documentation

Set record to default state (does not touch the ID).

void ESM::DialInfo::load ( ESMReader esm)
void ESM::DialInfo::save ( ESMWriter esm) const

Member Data Documentation

std::string ESM::DialInfo::mActor
std::string ESM::DialInfo::mCell
std::string ESM::DialInfo::mClass
std::string ESM::DialInfo::mId
std::string ESM::DialInfo::mNext
std::string ESM::DialInfo::mPrev
std::string ESM::DialInfo::mRace
std::string ESM::DialInfo::mSound
unsigned int ESM::DialInfo::sRecordId = REC_INFO [static]

The documentation for this struct was generated from the following files: