OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Private Member Functions | List of all members
MWBase::DialogueManager Class Referenceabstract

Interface for dialogue manager (implemented in MWDialogue) More...

#include <dialoguemanager.hpp>

Inheritance diagram for MWBase::DialogueManager:
Collaboration diagram for MWBase::DialogueManager:

Classes

class  ResponseCallback
 

Public Member Functions

 DialogueManager ()
 
virtual void clear ()=0
 
virtual ~DialogueManager ()
 
virtual bool isInChoice () const =0
 
virtual bool startDialogue (const MWWorld::Ptr &actor, ResponseCallback *callback)=0
 
virtual void addTopic (const std::string &topic)=0
 
virtual void addChoice (const std::string &text, int choice)=0
 
virtual const std::vector
< std::pair< std::string, int > > & 
getChoices ()=0
 
virtual bool isGoodbye ()=0
 
virtual void goodbye ()=0
 
virtual void say (const MWWorld::Ptr &actor, const std::string &topic)=0
 
virtual void keywordSelected (const std::string &keyword, ResponseCallback *callback)=0
 
virtual void goodbyeSelected ()=0
 
virtual void questionAnswered (int answer, ResponseCallback *callback)=0
 
virtual std::list< std::string > getAvailableTopics ()=0
 
virtual bool checkServiceRefused (ResponseCallback *callback)=0
 
virtual void persuade (int type, ResponseCallback *callback)=0
 
virtual int getTemporaryDispositionChange () const =0
 
virtual void applyBarterDispositionChange (int delta)=0
 
virtual int countSavedGameRecords () const =0
 
virtual void write (ESM::ESMWriter &writer, Loading::Listener &progress) const =0
 
virtual void readRecord (ESM::ESMReader &reader, uint32_t type)=0
 
virtual void modFactionReaction (const std::string &faction1, const std::string &faction2, int diff)=0
 Changes faction1's opinion of faction2 by diff. More...
 
virtual void setFactionReaction (const std::string &faction1, const std::string &faction2, int absolute)=0
 
virtual int getFactionReaction (const std::string &faction1, const std::string &faction2) const =0
 
virtual void clearInfoActor (const MWWorld::Ptr &actor) const =0
 Removes the last added topic response for the given actor from the journal. More...
 

Private Member Functions

 DialogueManager (const DialogueManager &)
 not implemented More...
 
DialogueManageroperator= (const DialogueManager &)
 not implemented More...
 

Detailed Description

Interface for dialogue manager (implemented in MWDialogue)

Constructor & Destructor Documentation

MWBase::DialogueManager::DialogueManager ( const DialogueManager )
private

not implemented

MWBase::DialogueManager::DialogueManager ( )
inline
virtual MWBase::DialogueManager::~DialogueManager ( )
inlinevirtual

Member Function Documentation

virtual void MWBase::DialogueManager::addChoice ( const std::string &  text,
int  choice 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::addTopic ( const std::string &  topic)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::applyBarterDispositionChange ( int  delta)
pure virtual
Note
Controlled by an option, gets discarded when dialogue ends by default

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual bool MWBase::DialogueManager::checkServiceRefused ( ResponseCallback callback)
pure virtual

Implemented in MWDialogue::DialogueManager.

virtual void MWBase::DialogueManager::clear ( )
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::clearInfoActor ( const MWWorld::Ptr actor) const
pure virtual

Removes the last added topic response for the given actor from the journal.

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual int MWBase::DialogueManager::countSavedGameRecords ( ) const
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual std::list<std::string> MWBase::DialogueManager::getAvailableTopics ( )
pure virtual

Implemented in MWDialogue::DialogueManager.

virtual const std::vector<std::pair<std::string, int> >& MWBase::DialogueManager::getChoices ( )
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual int MWBase::DialogueManager::getFactionReaction ( const std::string &  faction1,
const std::string &  faction2 
) const
pure virtual
Returns
faction1's opinion of faction2

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual int MWBase::DialogueManager::getTemporaryDispositionChange ( ) const
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::goodbye ( )
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::goodbyeSelected ( )
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual bool MWBase::DialogueManager::isGoodbye ( )
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual bool MWBase::DialogueManager::isInChoice ( ) const
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::keywordSelected ( const std::string &  keyword,
ResponseCallback callback 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::modFactionReaction ( const std::string &  faction1,
const std::string &  faction2,
int  diff 
)
pure virtual

Changes faction1's opinion of faction2 by diff.

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

DialogueManager& MWBase::DialogueManager::operator= ( const DialogueManager )
private

not implemented

virtual void MWBase::DialogueManager::persuade ( int  type,
ResponseCallback callback 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::questionAnswered ( int  answer,
ResponseCallback callback 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::readRecord ( ESM::ESMReader reader,
uint32_t  type 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::say ( const MWWorld::Ptr actor,
const std::string &  topic 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual void MWBase::DialogueManager::setFactionReaction ( const std::string &  faction1,
const std::string &  faction2,
int  absolute 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:

virtual bool MWBase::DialogueManager::startDialogue ( const MWWorld::Ptr actor,
ResponseCallback callback 
)
pure virtual

Implemented in MWDialogue::DialogueManager.

virtual void MWBase::DialogueManager::write ( ESM::ESMWriter writer,
Loading::Listener progress 
) const
pure virtual

Implemented in MWDialogue::DialogueManager.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: