mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-29 08:23:48 +00:00
Big update.
This commit is contained in:
38
src/strategy/generic/QuestStrategies.h
Normal file
38
src/strategy/generic/QuestStrategies.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
|
||||
*/
|
||||
|
||||
#ifndef _PLAYERBOT_QUESTSTRATEGIES_H
|
||||
#define _PLAYERBOT_QUESTSTRATEGIES_H
|
||||
|
||||
#include "PassTroughStrategy.h"
|
||||
|
||||
class PlayerbotAI;
|
||||
|
||||
class QuestStrategy : public PassTroughStrategy
|
||||
{
|
||||
public:
|
||||
QuestStrategy(PlayerbotAI* botAI);
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
};
|
||||
|
||||
class DefaultQuestStrategy : public QuestStrategy
|
||||
{
|
||||
public:
|
||||
DefaultQuestStrategy(PlayerbotAI* botAI);
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "quest"; }
|
||||
};
|
||||
|
||||
class AcceptAllQuestsStrategy : public QuestStrategy
|
||||
{
|
||||
public:
|
||||
AcceptAllQuestsStrategy(PlayerbotAI* botAI);
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "accept all quests"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user