Files
mod-playerbots/src/strategy/actions/QueryQuestAction.h
2022-03-12 22:27:09 +01:00

25 lines
667 B
C++

/*
* 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_QUERYQUESTACTION_H
#define _PLAYERBOT_QUERYQUESTACTION_H
#include "Action.h"
class PlayerbotAI;
class QueryQuestAction : public Action
{
public:
QueryQuestAction(PlayerbotAI* botAI) : Action(botAI, "query quest") { }
bool Execute(Event event) override;
private:
void TellObjectives(uint32 questId);
void TellObjective(std::string const name, uint32 available, uint32 required);
};
#endif