35 #ifndef _GlobalQuest_H__ 36 #define _GlobalQuest_H__ 97 virtual bool fail(
PlayerInfo* player)
override;
98 virtual bool complete(
PlayerInfo* player)
override;
101 virtual bool isStartable(
const PlayerInfo* player)
const override;
102 virtual bool isFailable(
const PlayerInfo* player)
const override;
103 virtual bool isCompletable(
const PlayerInfo* player)
const override;
115 const QuestEffect* getRewardEffects(
unsigned int index)
const;
std::list< QuestEffect * > rewards_
Reward QuestEffects only invoked on the player completing the Quest.
Definition: GlobalQuest.h:112
GlobalQuests are Quests, that have the same status for all players.
Definition: GlobalQuest.h:89
std::set< PlayerInfo * > players_
The set of players which possess this Quest.
Definition: GlobalQuest.h:110
Represents a Quest in the game.
Definition: Quest.h:77
xmlelement
Definition: Super.h:519
Handles QuestEffects for Quests.
Definition: QuestEffect.h:56
QuestStatus
Different states of a Quest.
Definition: Quest.h:53
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 ...
Definition of the Quest class.
void status(const std::string &text)
Prints output with status level.
Definition: ConsoleCommandCompilation.cc:153
Definition: PlayerInfo.h:39
QuestStatus status_
The status of this Quest.
Definition: GlobalQuest.h:111
#define _QuestsystemExport
Definition: QuestsystemPrereqs.h:60