1 #ifndef GAME_MWBASE_DIALOGUEMANAGER_H
2 #define GAME_MWBASE_DIALOGUEMANAGER_H
39 virtual void clear() = 0;
47 virtual void addTopic (
const std::string& topic) = 0;
49 virtual void askQuestion (
const std::string& question,
int choice) = 0;
53 virtual void say(
const MWWorld::Ptr &actor,
const std::string &topic)
const = 0;
62 virtual void persuade (
int type) = 0;
75 virtual void modFactionReaction (
const std::string& faction1,
const std::string& faction2,
int diff) = 0;
77 virtual void setFactionReaction (
const std::string& faction1,
const std::string& faction2,
int absolute) = 0;
80 virtual int getFactionReaction (
const std::string& faction1,
const std::string& faction2)
const = 0;
Interface for dialogue manager (implemented in MWDialogue)
Definition: dialoguemanager.hpp:27
virtual bool checkServiceRefused()=0
Definition: esmreader.hpp:21
virtual void applyDispositionChange(int delta)=0
virtual int countSavedGameRecords() const =0
virtual void write(ESM::ESMWriter &writer, Loading::Listener &progress) const =0
virtual void clearInfoActor(const MWWorld::Ptr &actor) const =0
Removes the last added topic response for the given actor from the journal.
Definition: loadinglistener.hpp:8
virtual void startDialogue(const MWWorld::Ptr &actor)=0
Definition: esmwriter.hpp:17
DialogueManager()
Definition: dialoguemanager.hpp:37
virtual void say(const MWWorld::Ptr &actor, const std::string &topic) const =0
virtual int getTemporaryDispositionChange() const =0
virtual void setFactionReaction(const std::string &faction1, const std::string &faction2, int absolute)=0
virtual bool isInChoice() const =0
virtual void questionAnswered(int answer)=0
DialogueManager & operator=(const DialogueManager &)
not implemented
virtual void readRecord(ESM::ESMReader &reader, uint32_t type)=0
virtual void keywordSelected(const std::string &keyword)=0
virtual void goodbyeSelected()=0
virtual ~DialogueManager()
Definition: dialoguemanager.hpp:41
virtual void askQuestion(const std::string &question, int choice)=0
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual int getFactionReaction(const std::string &faction1, const std::string &faction2) const =0
virtual void modFactionReaction(const std::string &faction1, const std::string &faction2, int diff)=0
Changes faction1's opinion of faction2 by diff.
virtual void persuade(int type)=0
virtual void addTopic(const std::string &topic)=0