Files
mod-playerbots/src/strategy/actions/TellLosAction.h
2024-09-01 17:11:46 +08:00

50 lines
1.1 KiB
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_TELLLOSACTION_H
#define _PLAYERBOT_TELLLOSACTION_H
#include "Action.h"
class PlayerbotAI;
class TellLosAction : public Action
{
public:
TellLosAction(PlayerbotAI* botAI) : Action(botAI, "los") {}
bool Execute(Event event) override;
private:
void ListUnits(std::string const title, GuidVector units);
void ListGameObjects(std::string const title, GuidVector gos);
};
class TellAuraAction : public Action
{
public:
TellAuraAction(PlayerbotAI* ai) : Action(ai, "aura") {}
virtual bool Execute(Event event);
};
class TellEstimatedDpsAction : public Action
{
public:
TellEstimatedDpsAction(PlayerbotAI* ai) : Action(ai, "tell estimated dps") {}
virtual bool Execute(Event event);
};
class TellCalculateItemAction : public Action
{
public:
TellCalculateItemAction(PlayerbotAI* ai) : Action(ai, "calculate item") {}
virtual bool Execute(Event event);
};
#endif