Changeset 11083 for code/trunk/src/modules/questsystem
- Timestamp:
- Jan 21, 2016, 1:59:04 PM (9 years ago)
- Location:
- code/trunk/src/modules/questsystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/questsystem/QuestListener.cc
r11071 r11083 81 81 XMLPortParam(QuestListener, "mode", setMode, getMode, xmlelement, mode); 82 82 83 if(this->quest_ != nullptr) 83 std::string questid; 84 85 if (this->quest_ != nullptr) 86 { 84 87 this->quest_->addListener(this); // Adds the QuestListener to the Quests list of listeners. 85 86 orxout(verbose, context::quests) << "QuestListener created for quest: {" << this->quest_->getId() << "} with mode '" << this->getMode() << "'." << endl; 88 questid = this->quest_->getId(); 89 } 90 91 orxout(verbose, context::quests) << "QuestListener created for quest: {" << questid << "} with mode '" << this->getMode() << "'." << endl; 87 92 } 88 93 -
code/trunk/src/modules/questsystem/effects/ChangeQuestStatus.h
r11071 r11083 61 61 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; //!< Method for creating a ChangeQuestStatus object through XML. 62 62 63 virtual bool invoke(PlayerInfo* player) = 0; //!< Invokes the QuestEffect.64 65 63 protected: 66 64 /**
Note: See TracChangeset
for help on using the changeset viewer.