mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 17:39:09 +00:00
25 lines
667 B
C++
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
|