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

A dialogue entry. More...

#include <journalentry.hpp>

Inheritance diagram for MWDialogue::JournalEntry:
Collaboration diagram for MWDialogue::JournalEntry:

Public Member Functions

 JournalEntry ()
 
 JournalEntry (const std::string &topic, const std::string &infoId, const MWWorld::Ptr &actor)
 
 JournalEntry (const ESM::JournalEntry &record)
 
void write (ESM::JournalEntry &entry) const
 
- Public Member Functions inherited from MWDialogue::Entry
 Entry ()
 
 Entry (const std::string &topic, const std::string &infoId, const MWWorld::Ptr &actor)
 actor is optional More...
 
 Entry (const ESM::JournalEntry &record)
 
std::string getText () const
 
void write (ESM::JournalEntry &entry) const
 

Static Public Member Functions

static JournalEntry makeFromQuest (const std::string &topic, int index)
 
static std::string idFromIndex (const std::string &topic, int index)
 

Public Attributes

std::string mTopic
 
- Public Attributes inherited from MWDialogue::Entry
std::string mInfoId
 
std::string mText
 
std::string mActorName
 

Detailed Description

A dialogue entry.

Same as entry, but store TopicID

Constructor & Destructor Documentation

JournalEntry::JournalEntry ( )

Here is the caller graph for this function:

JournalEntry::JournalEntry ( const std::string &  topic,
const std::string &  infoId,
const MWWorld::Ptr actor 
)
JournalEntry::JournalEntry ( const ESM::JournalEntry record)

Member Function Documentation

std::string JournalEntry::idFromIndex ( const std::string &  topic,
int  index 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

JournalEntry JournalEntry::makeFromQuest ( const std::string &  topic,
int  index 
)
static

Here is the call graph for this function:

void JournalEntry::write ( ESM::JournalEntry entry) const

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string MWDialogue::JournalEntry::mTopic

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