35 #ifndef _AddReward_H__ 36 #define _AddReward_H__ 72 virtual bool invoke(
PlayerInfo* player)
override;
82 { this->rewards_.push_back(reward); }
84 const Rewardable* getRewardables(
unsigned int index)
const;
Adds a list of Rewardables to a player.
Definition: AddReward.h:64
void addRewardable(Rewardable *reward)
Add a Rewardable object to the list of objects to be awarded to the player invoking the QuestEffect...
Definition: AddReward.h:81
std::list< Rewardable * > rewards_
A list of Rewardables to be added to the player invoking the QuestEffect.
Definition: AddReward.h:75
xmlelement
Definition: Super.h:519
Handles QuestEffects for Quests.
Definition: QuestEffect.h:56
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
Shared library macros, enums, constants and forward declarations for the questsystem module ...
Rewardable is an Interface, that can be implemented by any object to enable it to be given as reward ...
Definition: Rewardable.h:50
Definition of the QuestEffect class.
Definition: PlayerInfo.h:39
#define _QuestsystemExport
Definition: QuestsystemPrereqs.h:60