OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ESM::DialInfo Struct Reference

#include <loadinfo.hpp>

Inheritance diagram for ESM::DialInfo:
Collaboration diagram for ESM::DialInfo:

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 }
 
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, bool &isDeleted)
 Loads Info record. More...
 
void save (ESMWriter &esm, bool isDeleted=false) const
 
void blank ()
 Set record to default state (does not touch the ID). More...
 

Static Public Member Functions

static std::string getRecordType ()
 Return a string descriptor for this record type. Currently used for debugging / error logs only. More...
 

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 
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

void ESM::DialInfo::blank ( )

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

static std::string ESM::DialInfo::getRecordType ( )
inlinestatic

Return a string descriptor for this record type. Currently used for debugging / error logs only.

void ESM::DialInfo::load ( ESMReader esm,
bool isDeleted 
)

Loads Info record.

Here is the call graph for this function:

Here is the caller graph for this function:

void ESM::DialInfo::save ( ESMWriter esm,
bool  isDeleted = false 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string ESM::DialInfo::mActor
std::string ESM::DialInfo::mCell
std::string ESM::DialInfo::mClass
DATAstruct ESM::DialInfo::mData
std::string ESM::DialInfo::mFaction
bool ESM::DialInfo::mFactionLess
std::string ESM::DialInfo::mId
std::string ESM::DialInfo::mNext
std::string ESM::DialInfo::mPcFaction
std::string ESM::DialInfo::mPrev
QuestStatus ESM::DialInfo::mQuestStatus
std::string ESM::DialInfo::mRace
std::string ESM::DialInfo::mResponse
std::string ESM::DialInfo::mResultScript
std::vector<SelectStruct> ESM::DialInfo::mSelects
std::string ESM::DialInfo::mSound
unsigned int ESM::DialInfo::sRecordId = REC_INFO
static

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